Skip to content

fix(auth): preserve linkDomain in email link ActionCodeSettings#2321

Merged
russellwheatley merged 1 commit into
version-10.0.0-beta03from
fix/email-link-domain
May 15, 2026
Merged

fix(auth): preserve linkDomain in email link ActionCodeSettings#2321
russellwheatley merged 1 commit into
version-10.0.0-beta03from
fix/email-link-domain

Conversation

@demolaf
Copy link
Copy Markdown
Member

@demolaf demolaf commented May 14, 2026

Fixes #1730

When sending an email sign-in link, addSessionInfoToActionCodeSettings rebuilt the ActionCodeSettings without forwarding linkDomain, so custom domains were silently ignored and the default project domain was always used instead. This adds linkDomain to the rebuilt settings and a regression test to cover it.

@demolaf demolaf marked this pull request as draft May 14, 2026 18:26
@demolaf demolaf changed the title fix(auth): preserve linkDomain in action code settings for email prov… fix(auth): preserve linkDomain in email link ActionCodeSettings May 14, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request ensures that the linkDomain property is preserved when generating ActionCodeSettings within the AuthProvider class, supported by a new unit test. The reviewer suggested also including the deprecated dynamicLinkDomain property to maintain backward compatibility for existing projects.

@demolaf demolaf marked this pull request as ready for review May 15, 2026 09:38
@demolaf demolaf requested a review from russellwheatley May 15, 2026 09:39
@russellwheatley russellwheatley merged commit 61e1b3d into version-10.0.0-beta03 May 15, 2026
10 checks passed
@russellwheatley russellwheatley deleted the fix/email-link-domain branch May 15, 2026 09:41
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