firebase-admin-node icon indicating copy to clipboard operation
firebase-admin-node copied to clipboard

generateSignInWithEmailLink is still dependant on Dynamic Links

Open ceit-each opened this issue 8 months ago • 2 comments

[REQUIRED] Step 2: Describe your environment

  • Operating System version: N/A
  • Firebase SDK version: 13.4.0
  • Firebase Product: auth
  • Node.js version: N/A
  • NPM version: N/A

[REQUIRED] Step 3: Describe the problem

In the latest Admin SDK (13.4.0) version generateSignInWithEmailLink appears to still be dependant on Dynamic Links and actionCodeSettings.linkDomain doesn't seem to be doing anything.

When I use the method in a Firebase project with Dynamic Links set up, the generated link follows the https://<name>.page.link?... format.

And when I try and use in in a project with Dynamic Links not set up, I get the following error:

FirebaseAuthError: FDL domain is not configured Raw server response: "{"error":{"code":400,"message":"DYNAMIC_LINK_NOT_ACTIVATED : FDL domain is not configured","errors":[{"message":"DYNAMIC_LINK_NOT_ACTIVATED : FDL domain is not configured","domain":"global","reason":"invalid"}]}}"

ceit-each avatar May 30 '25 16:05 ceit-each

Fixed the same issue by omitting everything in the actionSettings. Just keep the url and handleInApp: true (if building for mobile apps)

michaelpomogajko avatar Sep 26 '25 12:09 michaelpomogajko

This doesn't solve it for me

Meyssam120 avatar Dec 10 '25 13:12 Meyssam120