firebase-js-sdk icon indicating copy to clipboard operation
firebase-js-sdk copied to clipboard

apiKey is blank in link generated by sendSignInLinkToEmail

Open acomanescu opened this issue 1 year ago • 1 comments

Operating System

macOs 14.2.1

Browser Version

Chrome/121.0.6167.85

Firebase SDK Version

10.7.2

Firebase SDK Product:

Auth

Describe your project's tooling

Next.js with app dir

Describe the problem

When calling sendSignInLinkToEmail I receive an email with a link that contains a query parameter apiKey with no value. This redirects to a page that says The selected page mode is invalid..

Steps and code to reproduce issue

Simply execute sendSignInLinkToEmail and check the email link.

acomanescu avatar Jan 25 '24 15:01 acomanescu

Apparently, without making any change, it started to work 24hours later. I am now receiving the apiKey in the email link as expected. I am not closing this issue, because there might be a bug internally.

acomanescu avatar Jan 26 '24 16:01 acomanescu

This seems like this was a backend issue. I'm going to close this issue for now, but if you encounter the issue again the please open a new isssue and feel free to link this issue if it provide any additional context. Thanks!

DellaBitta avatar Apr 26 '24 14:04 DellaBitta