小编bjk*_*nka的帖子

密码重置电子邮件和电子邮件验证中的 Firebase 传递状态(继续访问网站链接)

我在我的网站中使用 firebase 进行用户身份验证。试图建立一个密码重置流程,用户接收密码重置电子邮件,重置他们的密码,然后它只是重定向到具有给定 url 的网站。

问题:我可以发送密码重置电子邮件并更改该帐户的密码,但是当我单击 firebase 提供的继续按钮时,它会在浏览器控制台中引发以下错误。

Uncaught DOMException: Failed to execute 'assign' on 'Location': 
'https://?link=http://mywebsite.com/?email%3Duser@example.com' is not a valid URL.
Run Code Online (Sandbox Code Playgroud)

我也收到电子邮件验证链接的相同错误。

该网址已在 Firebase 的授权域中列入白名单。

请帮我!

email web firebase firebase-authentication

5
推荐指数
1
解决办法
6028
查看次数

标签 统计

email ×1

firebase ×1

firebase-authentication ×1

web ×1