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

Retain auth on browser refresh #998

Open
CoenraadS opened this issue Jan 23, 2024 · 4 comments
Open

Retain auth on browser refresh #998

CoenraadS opened this issue Jan 23, 2024 · 4 comments

Comments

@CoenraadS
Copy link

Swagger has an option to preserve authorization on browser refresh/close

https://github.com/swagger-api/swagger-ui/pull/5939/files

It would be great if RapiDoc could do the same. I use BASIC auth and would like a 'remember me' option.

@brunchboy
Copy link

This would definitely be nice!

@Qu4tro
Copy link

Qu4tro commented Apr 14, 2024

Have you tried persist-auth ?

https://rapidocweb.com/api.html#att-general

@brunchboy
Copy link

Thank you @Qu4tro that looked very promising and we had somehow missed it. Unfortunately, it looks like only a partial solution as it stands today. It seems to work if you manually paste in a bearer token, but if you are using an OAuth flow, which is our most important use case, the auth does not survive a page refresh, which makes sense because nothing is visible in local storage.

@rapi-doc rapi-doc deleted a comment from wparad Sep 23, 2024
@hamilton-earthscope
Copy link

I'm seeing the same behavior as @brunchboy described above.

Is there any progress on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants