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.
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:
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.