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

💡 [REQUEST] - Optionally store state in sessionStorage #70

Closed
soofstad opened this issue Mar 19, 2023 · 0 comments · Fixed by #71
Closed

💡 [REQUEST] - Optionally store state in sessionStorage #70

soofstad opened this issue Mar 19, 2023 · 0 comments · Fixed by #71
Labels
question Further information is requested

Comments

@soofstad
Copy link
Owner

Summary

Provide the option to store all state used by the package in session storage.

This could be useful if developers want to force a new login on every new browser. For public/shared computers this could make sense.

Basic Example

  1. A user opens a browser and navigates to webpage that uses react-oauth2-code-pkce
  2. Redirected to login server, and checks "Do not remember me", or something similar
  3. Completes task in webpage
  4. Closes browser
  5. Another user on the same desktop session navigates to the same webpage.
  6. Should be forced to login again

Drawbacks

None specifically

Unresolved questions

No response

Implementation PR

No response

Reference Issues

#69

@soofstad soofstad added the question Further information is requested label Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant