-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
auto_error
parameter and fix authorization bug (#63)
- Updated `HttpBearerExtractor` to use the `auto_error=False`. - Fixed bug where bypassable requests sent `None` to the `authorize` function, causing authorization failures. - Made `authenticate` method more explicit about `id_token_extractor` and removed unnecessary line that returned `None`. - fix mypy issue - bump version to 2.0.2 --------- Co-authored-by: Mohammad Torkashvand <[email protected]>
- Loading branch information
1 parent
79097ec
commit 7b8020a
Showing
4 changed files
with
12 additions
and
10 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
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