Skip to content
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

Swagger-UI Property "persistAuthorization" is missing #938

Closed
constantine008 opened this issue Nov 16, 2020 · 1 comment
Closed

Swagger-UI Property "persistAuthorization" is missing #938

constantine008 opened this issue Nov 16, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@constantine008
Copy link

constantine008 commented Nov 16, 2020

We are migrating from Springfox to Springdoc, which worked very well. We expect preserve authorization on browser refresh and close/reopen. swagger-ui fixed it on Swagger UI v3.34.0 . But this can't be set currently via springdoc-properties.

https://github.com/swagger-api/swagger-ui/commit/96aecc8860a906d2d185bcbba60fae61ca847fdc
https://github.com/swagger-api/swagger-ui/pull/5939
Swagger UI v3.34.0

What we expect:

it is possible to define the swagger-ui property persistAuthorization, e.g. by defining the spring-boot property springdoc.swagger-ui.persistAuthorization

@bnasslahsen
Copy link
Contributor

bnasslahsen commented Nov 20, 2020

@constantine008,

The property is now added.
You can test with the latest snapshot.

@bnasslahsen bnasslahsen added the enhancement New feature or request label Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants