You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Bug] How to fix "The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console" I can't convert an anonymous account to a permanent account
#893
Closed
11101100 opened this issue
Nov 6, 2023
· 3 comments
Firebase.FirebaseException: This operation is not allowed. You must enable this service in the console.
at Firebase.Auth.FirebaseUser.LinkWithCredentialAsync (Firebase.Auth.Credential credential) [0x00037] in /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/auth/src/FirebaseUser.cs:157
at GameSceneManager.ConvertUserWithEmail (System.String email, System.String password) [0x00046] in D:\Life\Life\Assets\GameSceneManager.cs:1881
UnityEngine.Debug:Log (object)
GameSceneManager/<ConvertUserWithEmail>d__92:MoveNext () (at Assets/GameSceneManager.cs:1886)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Firebase.Auth.AuthResult>:SetException (System.Exception)
Firebase.Auth.FirebaseUser/<LinkWithCredentialAsync>d__11:MoveNext () (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/auth/src/FirebaseUser.cs:159)
System.Threading.Tasks.TaskCompletionSource`1<Firebase.Auth.AuthResult>:SetException (System.Exception)
Firebase.Auth.Future_AuthResult/<>c__DisplayClass5_0:<GetTask>b__0 () (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/macos_unity/x86_64/auth/swig/Firebase.Auth_fixed.cs:1471)
Firebase.Auth.Future_AuthResult:SWIG_CompletionDispatcher (int) (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/macos_unity/x86_64/auth/swig/Firebase.Auth_fixed.cs:1561)
Firebase.AppUtil:PollCallbacks () (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/macos_unity/x86_64/app/swig/Firebase.App_fixed.cs:4812)
Firebase.Platform.FirebaseAppUtils:PollCallbacks () (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/app/platform/FirebaseAppUtils.cs:33)
Firebase.Platform.FirebaseHandler:Update () (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/app/platform/Unity/FirebaseHandler.cs:208)
Firebase.Platform.FirebaseMonoBehaviour:Update () (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/app/platform/Unity/FirebaseMonoBehaviour.cs:45)
test on device Exception 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.
The text was updated successfully, but these errors were encountered:
11101100
changed the title
[Question] How to fix "The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console" I can't convert an anonymous account to a permanent account
[Bug] How to fix "The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console" I can't convert an anonymous account to a permanent account
Nov 7, 2023
I was also getting this error the given sign-in provider is disabled for this firebase project and I tried all possible methods but nothing works anything for me. Then I downgrade androidx.core:core-ktx:1.12.0 to androidx.core:core-ktx:1.9.0 and luckily error resolved.
Hey folks, so for context, Email Enumeration protection feature removes proper error messages, this is intended so that attackers won't be able to identify what emails are in use. This vague error message This operation is not allowed. You must enable this service in the console. is the result of using Email Enumeration protection. Now, if you're in the development phase of your app, you may simply disable this feature, so you can identify what's wrong with your setup.
Your code snippet doesn't seem to have any issues. I'm guessing the likely error is that the email is already in used. If you have any questions regarding how to correctly convert anonymous accounts to permanent accounts. You may go through our documentations. If you'd like code references for LinkWithCredentialAsync you may use our Quickstart Unity, the specific method is here.
That said, testing LinkWithCredentialAsync is working correctly as intended with version 11.9.0. I'll go ahead and close this thread.
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the question here:
I have a problem using LinkWithCredentialAsync
Can you tell me how to Convert an anonymous account to a permanent account in unity? Thank
test on windows error
test on device Exception
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.
The text was updated successfully, but these errors were encountered: