FirebaseExtended / make-it-so-android

Apache License 2.0
214 stars 58 forks source link

The given sign-in provider is disabled for this Firebase project #47

Closed ahmrh closed 9 months ago

ahmrh commented 9 months ago

Hello, I've been following the steps outlined in this codelab (https://firebase.google.com/codelabs/build-android-app-with-firebase-compose). However, upon reaching step 3 and attempting to create an account using my email and password, I encounter an error message stating, "The given sign-in provider is disabled for this Firebase project." I've already added both the email/password and anonymous sign-in providers in the Firebase console. I believe the issue doesn't lie with the google-services.json file since the Anonymous sign-in provider functions correctly (an anonymous user is created every time I uninstall and run the app again). Could you assist me in resolving this problem?

HyperTK commented 9 months ago

Hi, I was also having the same problem.

I found this article.

ahmrh commented 9 months ago

Hi, I was also having the same problem.

I found this article.

Thank you for the reply. It appears that linking anonymous accounts using linkWithCredential is no longer feasible. Is there an alternative solution or workaround available for this?

HyperTK commented 9 months ago

Use the REST API signUp instead, passing the user's ID token in the idToken field and the email, password fields to link. This method worked for me. Semangat!

ahmrh commented 9 months ago

Alright i'll try that out later.

(also, that's a good one haha, どうも ありがとう!)