Skip to content

fix(auth): Fix issues with deeplinking third party auth#18876

Merged
vbudhram merged 1 commit intomainfrom
fxa-11678
May 19, 2025
Merged

fix(auth): Fix issues with deeplinking third party auth#18876
vbudhram merged 1 commit intomainfrom
fxa-11678

Conversation

@vbudhram
Copy link
Copy Markdown
Contributor

Because

  • This currently does not deeplink into the third party auth flow

This pull request

  • Adds support to deeplink in our React email first pages

Issue that this pull request solves

Closes: https://mozilla-hub.atlassian.net/browse/FXA-11678

Checklist

  • 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).

Other information (Optional)

To test goto http://localhost:8080 and click Sign In (Google). You will need to have Google auth configured locally.

@vbudhram vbudhram requested a review from a team as a code owner May 16, 2025 18:37
@vbudhram vbudhram self-assigned this May 16, 2025
onContinueWithApple,
showSeparator = true,
viewName = 'unknown',
deeplink,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought eslint auto fixes idents?

Copy link
Copy Markdown
Contributor

@StaberindeZA StaberindeZA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+ with a question. Just had a question regarding the ref being used in the useCallback.

Tested it locally and works as expected.

Comment on lines +187 to +189
if (stateRef.current) {
stateRef.current.value = getState();
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should stateRef also be added as a dependency of the useCallback?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I added this in, it didn't work as expected. I'm going to merge as is and do a follow up.

@vbudhram vbudhram merged commit b7a4236 into main May 19, 2025
19 checks passed
@vbudhram vbudhram deleted the fxa-11678 branch May 19, 2025 19:35
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.

3 participants