-
-
Notifications
You must be signed in to change notification settings - Fork 247
Closed
Description
The JWT_TOKEN_LOCATION is a flexible addition to getting JWTs to work in various scenarios, however i'm working with an iOS developer where we have an API connection (via the header tag), and we are also using cookies for an in-app browser connection.
Cookies are checked first - in _decode_jwt_from_request (https://github.com/vimalloc/flask-jwt-extended/blob/854bc2ed5dfa8a6e5ec6e7de25a2c1a5a18bff44/flask_jwt_extended/view_decorators.py#L247 - rather than respecting the order of the JWT_TOKEN_LOCATION list (or set).
If i work on a PR, is there anything i should be aware of? Is this a crazy idea?
Metadata
Metadata
Assignees
Labels
No labels