-
Notifications
You must be signed in to change notification settings - Fork 156
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
[Question]add authorization button in swagger ui #215
Comments
This works using:
|
@CineXWorm I think that, even though this adds the green Authorize button, it does not add the security header to the request: |
Hello! The solution is here #248 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using FlaskApiSpec, but I couldn't make the authorization button appear in swagger ui,
I've tried the following solution but it didn't work,
https://mattfrear.com/2018/07/21/add-an-authorization-header-to-your-swagger-ui-with-swashbuckle-revisited/
here are my config
and I also tried put authorizations variables at FlaskApiSpec like FlaskApiSpec(app, document_options=False, authorizations=authorizations). but it ended it is unexpected key word.
Does flask-apispec support to get authorized via button a head of the swagger ui page instead of manually set "Authorization" to Bearer in individual endpoint's headers ?
thanks for helping
The text was updated successfully, but these errors were encountered: