Firebase Android: An internal error has occurred. [ OPERATION_NOT_ALLOWED ]

后端 未结 7 1468
谎友^
谎友^ 2021-01-04 00:32

Signing in via Google in my application gives this error:

An internal error has occurred. [ OPERATION_NOT_ALLOWED ]

I have enabl

相关标签:
7条回答
  • 2021-01-04 00:36

    I had the same problem. I got the solution in the forum post [Google Auth] com.google.firebase.FirebaseException: An internal error has occurred.

    This happened to me when I did not have the authentication method enabled in the console Firebase. When I enabled Google authentication, I got the same exception, just without [OPERATION_NOT_ALLOWED].

    0 讨论(0)
  • 2021-01-04 00:46

    I got "Internal error has occurred" when run the project. Please make sure your emulator connect with internet. In my case my emulator didn't connect with internet. for that following these steps.(For Windows PC)

    1. Go to the WiFi settings.
    2. Change adapter options.
    3. Right click WiFi and go to the properties.
    4. Then go to the sharing tab.
    5. Checked these two components and press OK.

    Then in emulator, switch off WiFi and switch on again. It's worked for me.

    0 讨论(0)
  • 2021-01-04 00:48
    1. Go to https://console.firebase.google.com/
    2. Select your project.
    3. Click on Authentication from menu option
    4. Click on SIGN-IN-METHOD
    5. Click on Google and enable it.

    Than it works fine :)

    0 讨论(0)
  • 2021-01-04 00:49

    finally I found the solution which worked for me. The fact is that even when you have setup successfully the email+password auth method you need to create a mobile app(in my case) and associate it with your project. After that FireBase will work as expected.

    0 讨论(0)
  • 2021-01-04 00:52

    Go to Google "https://console.developers.google.com/apis/library/" to your project and enable Identity Toolkit API

    0 讨论(0)
  • 2021-01-04 00:55

    If you are signup with email and password then follow below steps.

    Go to https://console.firebase.google.com/
    Select your project.
    Click on Authentication from menu option(Right-side menu)
    Click on SIGN-IN-METHOD
    Click on Email/Password and enable it.
    Click on SAVE.
    
    0 讨论(0)
提交回复
热议问题