Firebase重置密码链接不工作 [英] Firebase reset password link not working

查看:273
本文介绍了Firebase重置密码链接不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用firebase在我的android应用程序中验证用户身份。我提供用户在登录窗口中重置密码的选项。当用户点击按钮时,发送邮件成功。然而,当用户点击链接时,它总是显示

请重新尝试重置您的密码。您重置密码的请求已过期或链接已被使用





任何人都知道在哪里我错了 ?我尝试使用不同设备的不同电子邮件ID进行登录。还是行不通。我正在使用' com.google.firebase:firebase-auth:9.2.0 ''。

2016年8月31日更新



它看起来像API密钥有一些错误。如果您更改浏览器API密钥,则不会更新。现在这个错误是固定的,重置密码功能正常工作。如果您已经在 Google API控制台,您需要包含应用程序本身,这是电子邮件的来源:< app-name> ; .firebaseapp.com 。否则,此网域对您的应用程序密钥无效。


I am using firebase to authenticate users in my android app. I provide user an option to reset password in login window. When user click on button, it sends email successfully. However when user clicks on link, it always showing

"Try resetting your password again. Your request to reset your password has expired or the link has already been used"

Anyone knows where I'm Wrong ? I tried login with different email IDs from different devices. Still not working. I am using 'com.google.firebase:firebase-auth:9.2.0'.

UPDATE on 31 August 2016

I got in touch with firebase support and it looks like there was some bug with API key. If you change your browser API key, it was not getting updated. Now this bug is fixed and reset password function is working properly.

解决方案

If you've listed any HTTP referrers for your app's API key in the Google API console, you need to include the app itself which is where the emails originate: <app-name>.firebaseapp.com. Otherwise this domain is not valid for your app's key.

这篇关于Firebase重置密码链接不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆