This repository has been archived by the owner on Feb 15, 2024. It is now read-only.
forked from commonism/aiopenapi3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT: Make authentication via JWT Tokens possible (header format Aut…
…horization: Bearer TOKEN)
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 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
fa151e3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
I'd really expect Bearer to work without any modifications
aiopenapi3/tests/path_test.py
Lines 157 to 160 in f4049fc
Maybe the security requirements in the description document for the path/operation do not specify the requirement to authenticate, which is why you chose to force feed authentication?
For flask_smorest as used in https://github.com/jotelha/dtool-lookup-server/blob/a64a661f5c1fc5537a33c57339f051fe8b5e15bd/dtool_lookup_server/dataset_routes.py
look at
marshmallow-code/flask-smorest#91