Skip to content

Commit 7514f41

Browse files
committed
Print claims as test log
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
1 parent c2c77cd commit 7514f41

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • a2a/slack_researcher/slack_researcher

a2a/slack_researcher/slack_researcher/auth.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ async def authenticate(self, conn):
9797
try:
9898
# decode and validate claims
9999
claims = jwt.decode(s=token, key=jwks, claims_options=self.claims_options)
100+
101+
logger.info("Claims before validate: " + str(claims))
102+
print("Claims before validate: " + str(claims))
103+
100104
claims.validate()
101105
logger.debug("Token successfully validated.")
102106

0 commit comments

Comments
 (0)