How can I do custom JWT validation with Flask and flask_jwt_extended?

Viewed 4770

I want to add additional verification to the token when @jwt_required is called. I want to verify one of the claims. Is there away I can do this with JWTManager?

Currently my code just calls:

jwt = JWTManager(app)

And I decorate the functions with: @jwt_required

2 Answers
Related