Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update email link auth snippet to stop using deprecated dynamicLinkDomain #390

Merged
merged 2 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion auth-next/email-link-auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ function emailLinkActionCodeSettings() {
installApp: true,
minimumVersion: '12'
},
dynamicLinkDomain: 'example.page.link'
// The domain must be configured in Firebase Hosting and owned by the project.
linkDomain: 'example.com'
NhienLam marked this conversation as resolved.
Show resolved Hide resolved
};
// [END auth_email_link_actioncode_settings]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const actionCodeSettings = {
installApp: true,
minimumVersion: '12'
},
dynamicLinkDomain: 'example.page.link'
// The domain must be configured in Firebase Hosting and owned by the project.
linkDomain: 'example.com'
};
// [END auth_email_link_actioncode_settings_modular]
Loading