-
-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
audience verification, more flexible token decoding & decode key callback #212
audience verification, more flexible token decoding & decode key callback #212
Conversation
Hello @acrossen! Thanks for updating the PR.
Comment last updated on December 06, 2018 at 19:33 Hours UTC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking good! I left a few notes for minor changes in a couple places. If we can get those updated I would feel comfortable merging this 👍
Thanks @acrossen that looks good. One last question for you (sorry I missed this in the original review). Do we need to add an error handler for the InvalidAudienceError in here: https://github.com/vimalloc/flask-jwt-extended/blob/master/flask_jwt_extended/jwt_manager.py#L95 It would be awesome if we could add one more unit test to cover that code path, ie that in a real flask request, giving a token with a bad aud will trigger the self._invalid_token_callback function. Nice job putting this together, and thanks for the hard work you’ve done on it! 👍 |
per #208