9
votes

SOLVED

I am trying to put authentication on firebase. I finish my code, and, when I tried it, it says:

The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section.

I tried to search on YouTube and Google. But I didn´t find anything.

1
I'm able to login to your app What is the problem you are having Joseph?? You can check the authentication Section having my Email tmadhuker signed in using google - Fire-In-D-Hole
That's the Email sign-in method, he's confusing that with the Google sign-in method with mandates the OAuth redirect instead of plain forms. - Jack

1 Answers

23
votes

The message is telling you exactly what to do, go to the firebase console of your project and turn the corresponding auth methods on. If you are only trying to use Gmail (Google) login, then just enable Google in the sign-in methods inside the Authentication tab, like this:

enter image description here

Also, make sure that you only put the sign-in options that you needed and turned on inside the siginOptions parameter, if Google is the only one you want, then just put firebase.auth.GoogleAuthProvider.PROVIDER_ID and remove everything else.