You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If only specifying a single location to check for JWT in the jwt_required() decorator, it should be acceptable to pass a string instead of a list for the "locations" kwarg.
Example:
Instead of @jwt_required(locations=['cookies'])... @jwt_required(locations='cookies') should also be acceptable
The text was updated successfully, but these errors were encountered:
If only specifying a single location to check for JWT in the
jwt_required()
decorator, it should be acceptable to pass a string instead of a list for the "locations" kwarg.Example:
Instead of
@jwt_required(locations=['cookies'])
...@jwt_required(locations='cookies')
should also be acceptableThe text was updated successfully, but these errors were encountered: