Loading lib/galaxy/authnz/custos_authnz.py +0 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,6 @@ class OIDCAuthnzBase(IdentityProvider): # do not refresh tokens if they didn't reach their half lifetime if int(id_token_decoded["iat"]) + int(id_token_decoded["exp"]) > 2 * int(time.time()): return False log.info(custos_authnz_token.access_token) oauth2_session = self._create_oauth2_session() token_endpoint = self.config.token_endpoint if self.config.iam_client_secret: Loading Loading
lib/galaxy/authnz/custos_authnz.py +0 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,6 @@ class OIDCAuthnzBase(IdentityProvider): # do not refresh tokens if they didn't reach their half lifetime if int(id_token_decoded["iat"]) + int(id_token_decoded["exp"]) > 2 * int(time.time()): return False log.info(custos_authnz_token.access_token) oauth2_session = self._create_oauth2_session() token_endpoint = self.config.token_endpoint if self.config.iam_client_secret: Loading