Skip to content

Commit

Permalink
fix: Don't print client_secret in oauth2 debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sfayer committed Jul 26, 2023
1 parent 8a0fe38 commit 523b8e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DIRAC/Resources/IdProvider/OAuth2IdProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ def __init__(self, **kwargs):
self.metadata_fetch_last = time.time() - self.METADATA_REFRESH_RATE
self.log.debug(
f'"{self.name}" OAuth2 IdP initialization done:',
"\nclient_id: %s\nclient_secret: %s\nmetadata:\n%s"
% (self.client_id, self.client_secret, pprint.pformat(self.metadata)),
"\nclient_id: %s\nmetadata:\n%s"
% (self.client_id, pprint.pformat(self.metadata)),
)

def _initialize(self):
Expand Down

0 comments on commit 523b8e6

Please sign in to comment.