Skip to content

Angular - Enhancing MemoryTokenStorageService to support session storage for specific keys#25701

Merged
fahrigedik merged 2 commits into
rel-10.5from
issue/25663
Jun 26, 2026
Merged

Angular - Enhancing MemoryTokenStorageService to support session storage for specific keys#25701
fahrigedik merged 2 commits into
rel-10.5from
issue/25663

Conversation

@sumeyyeKurtulus

Copy link
Copy Markdown
Contributor

Description

Closes #25663

@sumeyyeKurtulus sumeyyeKurtulus added this to the 10.5-final milestone Jun 26, 2026
Copilot AI review requested due to automatic review settings June 26, 2026 11:15
@sumeyyeKurtulus sumeyyeKurtulus changed the title Angular- Enhancing MemoryTokenStorageService to support session storage for specific keys Angular - Enhancing MemoryTokenStorageService to support session storage for specific keys Jun 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Angular MemoryTokenStorageService to reduce multi-tab interference during OIDC flows (notably in Chromium tab duplication/refresh scenarios), aligning with the reported logout behavior in #25663.

Changes:

  • Routes selected OIDC transient keys (nonce, PKCE_verifier, session_state) to sessionStorage instead of localStorage.
  • Refactors getItem/setItem/removeItem branching to support memory + session + local storage tiers.
  • Adds helper methods to safely access sessionStorage.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

This comment was marked as resolved.

@fahrigedik fahrigedik merged commit 40129e7 into rel-10.5 Jun 26, 2026
2 of 3 checks passed
@fahrigedik fahrigedik deleted the issue/25663 branch June 26, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants