Skip to content Skip to sidebar Skip to footer

How To Set A Custom Authorization Response In Flask-jwt?

By itself, Flask-JWT works, but I need to add some values to the http response, I try to do it like this: @jwt.auth_response_callback def custom_auth_response_handler(access_token,

Solution 1:

The library has not been supported for 5 years, so I used Flask-JWT-Extended. There may be a solution to the original problem, but I don't think that makes sense.


Post a Comment for "How To Set A Custom Authorization Response In Flask-jwt?"