Skip to content

Commit 01cbccd

Browse files
authored
Merge pull request #19966 from kysrpex/oidc_tokens_logs
[23.1] Do not print OIDC access tokens to the logs
2 parents 1955d28 + ff68c73 commit 01cbccd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/galaxy/authnz/custos_authnz.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ def refresh(self, trans, custos_authnz_token):
8080
# do not refresh tokens if they didn't reach their half lifetime
8181
if int(id_token_decoded["iat"]) + int(id_token_decoded["exp"]) > 2 * int(time.time()):
8282
return False
83-
log.info(custos_authnz_token.access_token)
8483
oauth2_session = self._create_oauth2_session()
8584
token_endpoint = self.config["token_endpoint"]
8685
if self.config.get("iam_client_secret"):

0 commit comments

Comments
 (0)