Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EmailVerificationLink without apiKey #600

Open
shahzodshafizod opened this issue Dec 30, 2023 · 14 comments
Open

EmailVerificationLink without apiKey #600

shahzodshafizod opened this issue Dec 30, 2023 · 14 comments
Assignees

Comments

@shahzodshafizod
Copy link

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

@google-oss-bot
Copy link
Collaborator

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.

@shahzodshafizod
Copy link
Author

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.

@kajensen
Copy link

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

@arobert93
Copy link

I have a similar issue on the client using sendSignInLinkToEmail method. It sends a URL with a apiKey query parameter with no value.

@Monedita
Copy link

same issue here for new created firebase projects with new auth paid version

@Saschamz
Copy link

Same issue here for a firebase project created today using Blaze plan.

@jamesrhyspotter
Copy link

Updates on this? Same issue

@FKSAxell
Copy link

FKSAxell commented Feb 4, 2024

Same issue

@eva-cn
Copy link

eva-cn commented Feb 4, 2024

same issue

@FKSAxell
Copy link

FKSAxell commented Feb 4, 2024

I started a Flutter(FlutterFire) and Firebase project yesterday, encountered this issue, and read that it might work after some time. After a day, I tested it again, the API key is now being sent successfully.
I didn't do anything, just waited.

@sm-sayedi
Copy link

sm-sayedi commented Feb 6, 2024

I am getting the same issue with my newly created Firebase project in Flutter. It's working fine with old projects.

Edited: It started working after about 2 weeks for me!!

@jamesrhyspotter
Copy link

After a few days it started working for me fine, hang in there and maybe refactor some code whilst you wait

@Paroca72
Copy link

Same problem here

@lahirumaramba
Copy link
Member

Hey folks, this is the repo for Firebase Admin SDK for Golang. Are you experiencing this issue when using the SDK to generate email verification links on server side?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests