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

fix(oidc): ensure unique tabIds when page is duplicated (beta) #1485

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

grpawel
Copy link

@grpawel grpawel commented Nov 18, 2024

A picture tells a thousand words

This PR has the same changes as #1448, which was merged but then removed (see discussion in #1481).

See full description at #1448.

Before this PR

When user duplicates a browser tab, session storage is copied so both tabs use the same tabId. Operations like login in one tab can override the state of another tab.

After this PR

OIDC client can detect that the tab was duplicated and its tabId is already used.

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.

1 participant