英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论