vimalloc/flask-jwt-extended

How can i get identity in @before_request?

miaokela opened this issue · 2 comments

How can i get identity in @before_request?

DONE BY CUSTOM DECORATOR.

Another option would be to call verify_jwt_in_request in your @before_request, which will set everything up for you and allow you to use the standard functions provided by this library 👍