Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Conversation

@urmauur
Copy link
Member

@urmauur urmauur commented Dec 22, 2025

Describe Your Changes

This pull request updates the OAuth state management logic to use localStorage instead of sessionStorage. This change ensures compatibility with Progressive Web Apps (PWA) and home screen usage, where sessionStorage may not persist as expected.

OAuth flow storage improvements:

  • Changed storage of OAuth state, code verifier, and redirect URL from sessionStorage to localStorage in the storeOAuthState and retrieveOAuthState functions to support PWA/home screen scenarios.

Fixes Issues

  • Closes #
  • Closes #

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

@urmauur urmauur requested a review from louis-jan December 22, 2025 03:55
@urmauur urmauur self-assigned this Dec 22, 2025
@urmauur urmauur merged commit d7aac5b into dev-web Dec 22, 2025
2 checks passed
@urmauur urmauur deleted the fix/csrf-issue branch December 22, 2025 04:03
@github-actions github-actions bot added this to the v0.7.7 milestone Dec 22, 2025
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

Successfully merging this pull request may close these issues.

3 participants