-
-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
have jwt_optional catch and ignore InvalidHeaderError
This fixes the case of a different authorization header (for example, into another authorization system) causing jwt_optional to return the invalid header error handler. This is technically a breaking change, but I would argue that this is more of a bug fix and that no one is (or should be) relying on jwt_optional to send back an InvalidHeaderError if they send in a different header then this extension expects. Refs #82
- Loading branch information
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters