firebase / firebase/firebase-admin-node

generateSignInWithEmailLink is still dependant on Dynamic Links

未关闭
#2,931 2 条评论 4 个 reaction 已指派 2 人 已被 @pashanka 认领 在 GitHub 查看
api: auth
主要语言
TypeScript
星标
1.7k
派生
419
平均合并
3 天 10 小时
30 天内合并 PR
16

描述

### [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://.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"}]}}"
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。