你可以在使用 Firebase Auth REST API 请求电子邮件验证后添加重定向 URL 吗?

huangapple go评论56阅读模式
英文:

Can you add a redirect url after requesting an email verification with the firebase Auth REST API?

问题

我有一个与Firebase REST API交互的Python后端。我能够发送一封电子邮件验证邮件,但单击链接会导致显示“您的电子邮件已验证”的页面。是否有办法让链接将您带回您的应用程序而不是显示该页面?

英文:

I have a python backend interacting with the Firebase REST API. I'm able to get an email verification email sent, but clicking the link takes you to a page that says "Your email has been verified." Is there some way to have it so that the link takes you back to your app instead?

答案1

得分: 0

没有办法将重定向URL传递到Firebase身份验证的电子邮件验证链接中。这是一个合理的请求,因此我建议提交一个功能请求

与此同时,解决此用例的常见方法是设置自定义电子邮件操作处理程序页面。

英文:

There is no way to pass a redirect URL into to the email verification link for Firebase Authentication. It's a reasonable request though, so I recommend filing a feature request for it.

In the meantime the common ways to address the use-case is to set up a custom email action handler page.

huangapple
  • 本文由 发表于 2023年5月29日 20:38:58
  • 转载请务必保留本文链接:https://go.coder-hub.com/76357460.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定