- Notifications
You must be signed in to change notification settings - Fork342
feat(auth): UpdateActionCodeSettings to supportlink_domain and deprecatedynamic_link_domain#884
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
feat(auth): UpdateActionCodeSettings to supportlink_domain and deprecatedynamic_link_domain#884
Uh oh!
There was an error while loading.Please reload this page.
Conversation
huwmartin commentedJun 25, 2025
@lahirumaramba@pashanka see here re:#883. In my org we're currently relying on this via a fork and would be great to get into main release. |
Xiaoshouzi-gh left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks for putting this together!
Uh oh!
There was an error while loading.Please reload this page.
Xiaoshouzi-gh left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thank you for putting this together!
Xiaoshouzi-gh left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
1d9d933 todfce7c1Compare
jonathanedey left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks@huwmartin for putting this together! Overall LGTM with one minor change below.
Uh oh!
There was an error while loading.Please reload this page.
jonathanedey left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM! Please address the lint error and update the branch, Thanks!
egilmorez left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LG, thanks!
huwmartin commentedJul 23, 2025
@jonathanedey thanks, lots of other issues when running |
jonathanedey commentedJul 23, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@huwmartin, no worries, those were mainly because the branch was out of date. We made some lint changes in or last release and the CI here are using those settings. Thanks again for you contribution! |
ActionCodeSettings to supportlink_domain and deprecatedynamic_link_domain4fa2918 intofirebase:masterUh oh!
There was an error while loading.Please reload this page.
ActionCodeSettings to supportlink_domain and deprecatedynamic_link_domainActionCodeSettings to supportlink_domain and deprecatedynamic_link_domain…eprecate `dynamic_link_domain` (#884)* Add link_domain to ActionCodeSettings; update encode_action_code_settings to handle link_domain* Add handling for InvalidHostingLinkDomainError* Add deprecation warning for dynamic_link_domain* Update error message for InvalidHostingLinkDomainError* Fix lint* Add type hints to ActionCodeSettings* Fix f-string lint
Uh oh!
There was an error while loading.Please reload this page.
Discussion
Firebase Dynamic Links will stop working August 25th 2025.
Migration instructions indicate that to use a custom domain one should update usage of
ActionCodeSettingsto uselinkDomain, see also in theFirebase Admin docs.We currently depend upon
generate_sign_in_with_email_linkto generate email links,firebase-admin-pythonhasn't been updated withlink_domainand currently only supportsdynamic_link_domain,firebase-admin-nodehas been updated with support forlinkDomainso I assume this should be officially supported, please let me know if this is not the case.See#883.
This PR updates
ActionCodeSettingsto acceptlink_domainand updatesencode_action_code_settingsto handlelink_domainwhen constructing request payload. I have also added definition for newInvalidHostingLinkDomainErrorerror.