-
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.
HTTPBearer token is set, Auth button not shown on /api/docs (#67)
Refactor Oauth2-lib to allow token pass to method, token can be extracted from the request via the default HttpBearerExtractor() or a custom implementation. * WIP: HTTPBearer token is set * Fix: Authenticate refactor for GraphQL and other * Fix: raise 403 on empty token * Fix: Add test with token extractor * Fix: changed bool to False auto_error * Fix artefact package * Linting * Fix: Linting issues * Fix: space removal black check . * Refactor: make it more abstract * Fix: linting * Test: fix tests * Fix: linting imports * Fix: linting return type * Add init to HTTPBearerExtractor * Fix: Black --check * Fix typing decorator and removed unused code * fix: black * Update oauth2_lib/fastapi.py Co-authored-by: Mark Moes <[email protected]> * Update oauth2_lib/fastapi.py Co-authored-by: Mark Moes <[email protected]> * Fix: ruff * Rollback Typing checks * Add: typing ignore on decorator tests * bump version * bump version --------- Co-authored-by: Peter Boers <[email protected]> Co-authored-by: Mark Moes <[email protected]>
- Loading branch information
1 parent
a55dfd7
commit 0e3e5f4
Showing
8 changed files
with
54 additions
and
56 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
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