Example Swagger/OpenAPI definition:
components:
securitySchemes:
x-api-token:
type: apiKey
name: x-api-token
in: header
links: {}
callbacks: {}
security:
- x-api-token: []
Authorization value is lost on refresh
Steps to reproduce the behavior:
I should see "Value: **"


I thought that's the whole purpose of authorize button - to save user session so that it's not lost on refresh
Should be easily fixable using solution like this: https://github.com/rt2zz/redux-persist
+++
Pushed fixed version to docker hub: vanuan/swagger-ui:persist-authorization
Is this going to be merged anytime soon ?
It is pretty troublesome to put the authentication part in every time you refresh the UI.
I hope SmartBear folks will take a look soon!
Most helpful comment
Is this going to be merged anytime soon ?
It is pretty troublesome to put the authentication part in every time you refresh the UI.