firebase / firebase-admin-go

Firebase Admin Go SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EmailVerificationLink without apiKey

shahzodshafizod opened this issue · comments

Hi, it's already two days I'm trying to send an email verification mail, but the link inside the mail doesn't contain a value for apiKey. That's why I'm receiving this message: "The selected page mode is invalid." by clicking the link from mail.

I also tried sending the email by api to the route: https://identitytoolkit.googleapis.com/v1/accounts:sendOobCode?key={apiKey}", but result is the same.:(

What can be wrong?

An example of link (I didn't hide anything except the project name):

m.authClient.EmailVerificationLink:
https://<PROJECT_NAME>.firebaseapp.com/__/auth/action?mode=verifyEmail&oobCode=JoNSiRpM6LhrjleFEfJKPbqti9arNkTCUkeiyYD541AAAAGMvAETVw&apiKey=&lang=en

m.authClient.EmailVerificationLinkWithSettings:
https://<PROJECT_NAME>.firebaseapp.com/__/auth/action?mode=verifyEmail&oobCode=DJFO3hiveuX7lv25BzQ7Pyfd4POblJ1Nury5EquhESwAAAGMvAKOlQ&apiKey=&lang=en

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

I created a new project without upgrading to Firebase Auth with Identity Platform, the link became correct (with apiKey filled) in mails. I also suspect that there may be incorrect settings in previous project, because I touched everything.

I have this same issue. Please re-open as creating a new project did not resolve it.