Skip to content

Instantly share code, notes, and snippets.

@CryceTruly
Created October 13, 2022 18:51
Show Gist options
  • Save CryceTruly/9b2468af38161899066b846139693bc4 to your computer and use it in GitHub Desktop.
Save CryceTruly/9b2468af38161899066b846139693bc4 to your computer and use it in GitHub Desktop.
SWAGGER_SETTINGS = {
'USE_SESSION_AUTH': True,
'REFETCH_SCHEMA_ON_LOGOUT': True,
'LOGIN_URL': '/',
'LOGOUT_URL': '/logout',
'SECURITY_DEFINITIONS': {
'Bearer': {
'type': 'apiKey',
'name': 'Authorization',
'in': 'header'
},
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment