django-rest-swagger
django-rest-swagger copied to clipboard
Django-rest-swagger 2.2.0 doesn't include token in header
Hi, I'am trying this config, and it's working for 2.1.2 but not 2.2.0. The header just not includes the token. Please have a look.
SWAGGER_SETTINGS = {
'LOGIN_URL': 'rest_framework:login',
'LOGOUT_URL': 'rest_framework:logout',
'USE_SESSION_AUTH': False,
'DOC_EXPANSION': 'list',
'APIS_SORTER': 'alpha',
'JSON_EDITOR': True,
'api_version': '0.1',
'SUPPORTED_SUBMIT_METHODS': [
'get',
'post',
],
'SECURITY_DEFINITIONS': {
"api_key": {
"type": "apiKey",
"name": "Authorization",
"in": "header",
"description": "JWT authorization"
},
},
}
I have the same issue. Works in 2.1.2 but not in 2.2.0 (no header is sent).
I have the same issue. Works in 2.1.2 but not in 2.2.0 (no header is sent).
Same issue. Seems that 2.2.0 broke it
@marcgibbons I think it has something to do with this issue https://github.com/swagger-api/swagger-ui/issues/2915. What do you think ?
Hi. Still same here. Any updates?
Same here
bump
Same here.......
Also the same issue on v2.2.0!
Is anyone looking into the issue?
Same problem here. It would be really useful if this issue was solved!
This projects is going on? this will be good with fixing only 2 issues for staticfiles and authtoken header.