Skip to content

fix(signin): Check if session is valid for isFirefoxNonSync before rendering cached signin#20048

Open
LZoog wants to merge 1 commit intomainfrom
FXA-13022
Open

fix(signin): Check if session is valid for isFirefoxNonSync before rendering cached signin#20048
LZoog wants to merge 1 commit intomainfrom
FXA-13022

Conversation

@LZoog
Copy link
Contributor

@LZoog LZoog commented Feb 12, 2026

Because:

  • Now that we offer cached sign-in for non-Sync service browser sign-ins, FxA can show a stale cached sign in page when the user signs out from the browser menu

This commit:

  • Adds a "session is verified" check for Firefox client IDs that have a non-Sync 'service' param before we render cached sign-in

closes FXA-13022


See ticket and comments for more details.

To verify, do this on main and then in this branch:

  1. Launch Nightly in dev launcher, go to about:config and flip the browser.smartwindow.enabled pref
  2. Sign in via smart window button
  3. Switch to Fx classic and "Sign out" from menu
  4. Click Smart Window button again

On main you'll see the cached sign in page and if you click it you'll see "Session expired". In my branch with the fix, sign in with password is shown.

@LZoog LZoog requested a review from a team as a code owner February 12, 2026 15:54
…ndering cached signin

Because:
* Now that we offer cached sign-in for non-Sync service browser sign-ins, FxA can show a stale cached sign in page when the user signs out from the browser menu

This commit:
* Adds a "session is verified" check for Firefox client IDs that have a non-Sync 'service' param before we render cached sign-in

closes FXA-13022
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