Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cognito/decode-verify-jwt/decode-verify-jwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def lambda_handler(event, context):
print('Token is expired')
return False
# and the Audience (use claims['client_id'] if verifying an access token)
if claims['aud'] != app_client_id:
if claims['client_id'] != app_client_id:
print('Token was not issued for this audience')
return False
# now we can use the claims
Expand Down