0
votes

I've been working on my app with Firebase for several months now. I hooked up the password reset code about 5 months ago and when I would test it, I'd get the password rest email sent, click the link and everything would work fine. I haven't signed in with that particular account in 5 months so I forgot the password. Now when I get the pw reset email everytime I click the link I repeatedly get:

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

I'm using Firebase 3 via cocoapods as of Aug 2016 and never upgraded or installed anything from any of the older versions. I'm also using swift 2.2, Xcode 7.3.1.

I would upload code but everything is working fine because the email is getting sent, the problem seems to be on FB's end.

What's the issue?

2
Have you found a solution? Might be a bug on Firebase's side. - Nico
@Nico nah nothing. I'm not sure what the issue is. I've been so busy focusing on other app issues I actually forgot about it - Lance Samaria
Check this, maybe it can help. stackoverflow.com/a/42758633/1294968 - Nico
@nico thanks for the help! I'm going to try it tomorrow. I'm working on a really big app by myself and it's A LOT of work!! I have so many diff issues I have to attend to that I sometimes forget the initial issues. It's a process... I really appreciate the help though πŸ‘πŸΏπŸ‘πŸΏπŸ‘πŸΏ. I found this too stackoverflow.com/questions/38160622/… I'm going to try the link you sent and this also. I'll let you know the outcome - Lance Samaria
@Nico I'm sending an email to FB tech support. I'll let you know their response - Lance Samaria

2 Answers

1
votes

This is an update for anyone who runs into this problem. This is the response Firebase tech support sent back. It isn't the answer but rather an idea of what they'll ask you if you have the same problem. You get up to 5 free questions per 365 days so why waste one.

Hi there,

Could you please try resetting your password on your console and let us see if it works there. Also, did you generate a new API key for your project? If yes, then it's possible that your old API key is still being used by your app. Could you please check whether the API key is same? The API key from your Firebase project and your app should be the same.

Please update your app's Firebase config and check if the API keys match your console's. For Android, download the updated google-services.json file. See more details here. For iOS, download the updated GoogleService-Info.plist file. See more details here. For Web, follow the config as seen in the docs. If the steps above still doesn't work, please provide the details below to further investigate the issue. Old API key and new API key used. Platform and Firebase SDK version used? Date and time you started encountering this issue. Error logs and full stack trace. Screenshots of your API keys. Let me know if you have any other Firebase related issues/questions. Thank you for using Firebase. :)

I actually had another API key inside my console that was never used. I deleted it like they suggested and the Firebase Recovery email was still broken. I changed my Google.Console password and it still didn't work. I sent them all the required information. As soon as I get a response and hopefully a resolution I'll post it.

0
votes

I had the same problem. I couldn't understand why and then I realised something... as it was new environment, I exported users from another environment and on this one, I just forgot to activate authentication by email...

My mistake but I thing Firebase should make it clearer in their error warnings.