mozilla / fxa

Monorepo for Mozilla Accounts (formerly Firefox Accounts)
https://mozilla.github.io/ecosystem-platform/
Mozilla Public License 2.0
580 stars 210 forks source link

fix(content): Set email for force_auth with React signin #17116

Closed vpomerleau closed 1 month ago

vpomerleau commented 1 month ago

Because

This pull request

Issue that this pull request solves

Closes: #FXA-9855

Checklist

Put an x in the boxes that apply

Screenshots (Optional)

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

Other information (Optional)

One way to test:

  1. Have an account created with a product subscription (subscribe to a product via 123Done)
  2. Sign out of the account
  3. From the subscription welcome email, look for the "Update billing information" link a. For backbone: follow the link and observe that redirected to force_auth page to enter password b. For react, without this PR: paste the link into the search bar and add react params forceExperiment=generalizedReactApp&forceExperimentGroup=react. Observe that redirected to index page to re-enter email. c. For react, with this PR: paste the link into the search bar and add react params forceExperiment=generalizedReactApp&forceExperimentGroup=react. Observe that redirected to signin page to enter password (skip index).