-
Notifications
You must be signed in to change notification settings - Fork 290
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
Invalid custom tokens while using Google authentification #90
Comments
Hi, I am facing the same issue when running the repo example. The error occurs when |
Some people have run into this problem because the Firebase email address was incorrect. Can you double-check your Firebase config? Other people seem to run into this when their server time is incorrect.
@SaeedHK If it's invalid, what is wrong with it? I'll help where I can, though I unfortunately don't have much time to help investigate particular implementation problems. |
Thank you @kmjennison for your reply. You''re right, I made a mistake on the Firebase client email. Using the correct one, solved the problem. |
To note, the correct FIREBASE_CLIENT_EMAIL is the Google Cloud IAM Service Account email that matches up with the FIREBASE_PRIVATE_KEY. |
Describe the bug
I would like to add Google authentication to the example you provided in the repository. Specifically, I modified
signInOptions
inexample/components/FirebaseAuth.js
as follows:Setting up my firebase config info, when I try to login I get the following error:
I checked the token in https://jwt.io/ and it also raised that the token is invalid.
Version
0.13.0-alpha.0
The text was updated successfully, but these errors were encountered: