Skip to content

Flask_restx does not support Bearer token based authentication #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
simasgrilo opened this issue Apr 19, 2025 · 3 comments
Closed

Flask_restx does not support Bearer token based authentication #23

simasgrilo opened this issue Apr 19, 2025 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@simasgrilo
Copy link
Owner

as per the following documentation:

python-restx/flask-restx#244

the current version of flask-restx supports only Swagger 2.0, which has no specification for token, based authentication. your API does have two endpoints that support token-based auth:

  1. /log,
  2. /auth/register

I'd suggest trying to at least "support" bearer token for the current solution, or move to another library that supports

@simasgrilo simasgrilo self-assigned this Apr 19, 2025
@simasgrilo simasgrilo added the documentation Improvements or additions to documentation label Apr 19, 2025
@simasgrilo
Copy link
Owner Author

working on it - checking whether it's better to switch to another documentation framework or extend it myself to adequate it.

@simasgrilo
Copy link
Owner Author

swapping this for apispec - standardly supports openapi 3.

@simasgrilo
Copy link
Owner Author

Issue closed as per commit 049781f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant