Skip to content

Commit

Permalink
Update email link auth snippet to stop using deprecated `dynamicLinkD…
Browse files Browse the repository at this point in the history
…omain` (#390)

* Update email link auth snippet to remove FDL

* Update custom domain example
  • Loading branch information
NhienLam authored Feb 6, 2025
1 parent 3d04522 commit 467eaa1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
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: 'custom-domain.com'
};
// [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: 'custom-domain.com'
};
// [END auth_email_link_actioncode_settings_modular]

0 comments on commit 467eaa1

Please sign in to comment.