Skip to content

Commit

Permalink
Merge pull request #7134 from DIRACGridBot/cherry-pick-2-3999e1574-in…
Browse files Browse the repository at this point in the history
…tegration

[sweep:integration] Don't print client_secret in oauth2 debug
  • Loading branch information
fstagni committed Jul 27, 2023
2 parents 4299513 + 74f7c87 commit 8a28017
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/DIRAC/Resources/IdProvider/OAuth2IdProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ 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)),
f"\nclient_id: {self.client_id}\nmetadata:\n{pprint.pformat(self.metadata)}",
)

def _initialize(self):
Expand Down

0 comments on commit 8a28017

Please sign in to comment.