Skip to content

Conversation

@vpomerleau
Copy link
Contributor

Because

  • Sync sign in was failing after setting a password for third party auth accounts

This pull request

  • Fixing issue with fxaLogin, fxaOauthLogin being sent prematurely before keys are available
  • Sending the webchannel messages early and without keys causes the browser to respond by disconnecting ("account disconnected" state in the browser) and destroying the session

Issue that this pull request solves

Closes: FXA-12694

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Screenshots (Optional)

Please attach the screenshots of the changes made in case of change in user interface.

Other information (Optional)

Steps to test:

  • Create an account with Google/Apple auth
  • Sign in to Sync with that account

Expected result:
Prompted to set a password then signed in to sync on success
No regression for other sign ins (sign in to browser with non-sync integration, sign in to sync with password)

Because:

* Sync sign in was failing after setting a password for third party auth accounts

This commit:

* Fixing issue with fxaLogin, fxaOauthLogin being sent prematurely before keys are available

Closes #FXA-12694
@vpomerleau vpomerleau requested a review from a team as a code owner November 23, 2025 06:30
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.

2 participants