Prevent auth_token from being overwritten with None
Compare changes
Files
5@@ -125,8 +125,9 @@ class AbstractAuthenticator(ABC):
@@ -190,7 +191,7 @@ class CredentialsAuthenticator(AbstractAuthenticator):
Addresses https://gitlab.indiscale.com/caosdb/customers/f-fit/management/-/issues/82 / https://gitlab.com/linkahead/linkahead-pylib/-/issues/103
The auth_token is no longer overwritten with None in authentication/interface/on_response(), preventing the AuthTokenAuthenticator from becoming invalid when a request does not provide a new token in the "Set-Cookie" header.
Test MR is here.
Manual Testing