Because:
* Taking the user back to the Backbone index page on click of React "Change email" when they had an account in local storage would force a redirect to /signin
This commit:
* Adds a new 'prefillEmail' parameter for the React app to pass back to the Backbone app to signify to Backbone that 'Change email' was clicked
* On the React side, remove existing 'emailFromContent' and 'email' params from link since 'email' alters behavior on the Backbone side and 'emailFromContent' alters behavior on the React side
* On the Backbone side, set this field as a new relier field (typical of how we handle/validate external params), and if it exists on the index page, don't redirect and instead, prefill the email to match parity
fixes FXA-8307
Because:
* The value of this key doesn't matter for the purpose of this test.
* This key isn't valid.
* Using a key that looks like a valid key is causing us to get security alerts.
This commit:
* Replaces the key value in the test with a dummy string.
Relates to #FXA-8371
Because:
- There appeared to be invalid html
This Commit:
- Fixes the mismatched <span>Learn more</a> html
- Fixes bad div tag
- Corrects className to be class.
- Adds extra fixes include for brandMessaging. It needs `{{{` not `{{`
Because:
* Not passing query parameters causes OAuth and Sync flows to lose their query params (and context) on signin
This commit:
* Passes params and email param if present back to /signin or /force_auth
fixes FXA-8427
Because:
- Forgot password could not be clicked on when banner was visible on iPhone SE
- Use a different account could not be clicked on when banner was visible on iPhone SE
- Similar problems exited in react flows
This commit:
- Adds margin to body bottom when page is in brand messaging mode
Because:
* Users could land in a bad state if they first try to reset with an invalid recovery key since auth-server would send out a reset successful email and users would see an expired link
This commit:
* Passes accountResetToken from AccountRecoveryConfirmKey to CompleteResetPassword for reuse to prevent the expired state
* Properly passes up the 'accountResetWithRecoveryKey' option to prevent auth-server from landing in an unexpected state
fixes FXA-8419
Because:
* We want to easily expose complete type-safe query methods to callers
of the contentful client.
This commit:
* Adds a contentful manager class that exposes an eleigibility helper
method along with appropriate types.
Closes FXA-8405
Co-authored-by: Julian Poyourow <7751154+julianpoy@users.noreply.github.com>
Because:
- If the response from the auth server contained no body. The profile server would crash and restart.
This Commit:
- Gracefully handles the scenario where the body is missing.
Because:
* Latest update to Next.js requires latest version of storybook packages
to resolve `Error: Cannot find module
'next/dist/shared/lib/router-context'`
This commit:
* Updates storybook packages to latest
Closes #
Because:
* Versions of protobufjs <6.11.4 and <7.2.4 are causing security alerts
This commit:
* Resolve protobufjs version 6 to use v6.11.4 or newer
* Resolve protobufjs version 7 to use v7.2.4 or newer
* Ran yarn set resolution manually to force yarn.lock update
Co-authored-by: Ben Bangert <ben@groovie.org>
Because:
* We want l10n strings that are changing from Firefox to Mozilla to be localized before launch
This commit:
* Creates new copies of FTL strings that contain Firefox branding references and replaces them with Mozilla branding
closes FXA-7988
Because:
* When resetting through mobile sync, a blank page was rendered on complete reset PW attempt
This commit:
* Passes 'integration.data.service' into the get client info call if it's present, since this can sometimes contain the client ID
fixes FXA-8358
Because:
- We want to start the localization effort of updating strings from Firefox to Mozilla
This Commit:
- Creates new l10n strings / ids using the Mozilla branding