-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
When the swagger doc can only be accessed by someone who know the username and password, supporting base auth will be necessary.
From the website of flask_swagger_ui, it supports oauth which seems to be complicated for our project's requirement. Could you support base auth in the future release?
Here could be a usage example of base auth.
swagger_blueprint = get_swaggerui_blueprint(
'/api-docs',
'/static/swagger.json',
config={
'app_name': "app-name"
},
basic-auth-config = {users: {'userName': 'password' }}
)
Metadata
Metadata
Assignees
Labels
No labels