Skip to content

fix: always apply SSO token on public site, overriding stale session#30

Merged
AshrafHosam merged 1 commit into
mainfrom
fix/sso-stale-session
Jun 24, 2026
Merged

fix: always apply SSO token on public site, overriding stale session#30
AshrafHosam merged 1 commit into
mainfrom
fix/sso-stale-session

Conversation

@AshrafHosam

Copy link
Copy Markdown
Collaborator

When opening the public site from admin panel, the old access_token in localStorage was blocking the new SSO token from being applied. Remove the stale-session guard so the incoming sso_token always wins.

Also sync the _token reactive ref on auth:login so the admin portal back-link in AppHeader carries the correct token after an account switch.

When opening the public site from admin panel, the old access_token in
localStorage was blocking the new SSO token from being applied. Remove
the stale-session guard so the incoming sso_token always wins.

Also sync the _token reactive ref on auth:login so the admin portal
back-link in AppHeader carries the correct token after an account switch.
@AshrafHosam
AshrafHosam merged commit 8de6553 into main Jun 24, 2026
2 checks passed
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