-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Custom auth get 400 error with CONFIGURATION_NOT_FOUND #534
Comments
Can you explain the steps you took to get to this error more exactly? "Follow the document to run custom auth code" is not enough information for me to try and reproduce or debug this issue. |
I'm having this issue too... I hope the original poster doesn't mind my answering his question. If our cases are different, I'll be sure to create a new ticket so that I don't hijack this one. I'm using custom authentication, i.e. generating a token within my server/Node.js app running the Admin SDK:
this code returns a token to my client application. The
My client application is registered and working fine without authentication, so the Firebase config file should be correct (it is unchanged from what is provided in the console). Here is the client side init:
Thanks in advance for helping us out! |
Came across a fix for this... Simply visit the "Authentication" section of the Firebase console and click "enable". You don't have to configure any identity providers, but this error means that an identity provider was not found, perhaps because this API was simply not enabled. |
Maybe the firebase console UI has changed since the last reply, but I went to the firebase console -> authentication, then clicked "Get Started". And that's all. |
Thanks, seems this error is due to authentication is not enabled, thanks all for help! |
Is there a way to automate the enabling Email/Password Authentication from Firebase ? Need to do this in multiple project and any automation around would be helpful. Tried looking for Firebase API for the same. No luck so far. Please help if anyone found solution to make it fully automated. |
@Jenishk56 , Go to Authentication -> Sign-in method. Then enable the Email/Password Provider |
Thanks @joeauty! That fixed the issue for me |
Follow the document to run custom auth code, but get the errors as below, did I miss something to config?
The text was updated successfully, but these errors were encountered: