Skip to content

flask-api: Let jwt.decode() validiate the token audience - #3

Closed
asedeno wants to merge 1 commit into
auth0:masterfrom
asedeno:master
Closed

asedeno wants to merge 1 commit into
auth0:masterfrom
asedeno:master

Conversation

@asedeno

@asedeno asedeno commented May 5, 2015

Copy link
Copy Markdown

Recent PyJWT raises an InvalidAudience exception when the JWT aud=
doesn't match the audience passed in to decode(). Pass decode() the
audience and fold the existing audience checking into the exception
handling for the try that wraps the decode() call.

Recent PyJWT raises an InvalidAudience exception when the JWT aud=
doesn't match the audience passed in to decode(). Pass decode() the
audience and fold the existing audience checking into the exception
handling for the try that wraps the decode() call.
@asedeno

asedeno commented Jun 30, 2015

Copy link
Copy Markdown
Author

Closing: resolved by commit 8bce8b0

@asedeno asedeno closed this Jun 30, 2015
chenkie pushed a commit that referenced this pull request Apr 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant