Software⏱️ 2 min read📅 2026-05-31

How to Fix: Google sign in failed com.google.android.gms.common.api.ApiException: 10:

Verify your OAuth2 configurations in the Google API Console.

Quick Answer: Check if you have registered your project on the Google API Console and ensure correct OAuth2 settings.

The error message 'UNREGISTERED_ON_API_CONSOLE' indicates that the OAuth2 related configurations in your Firebase project are not correctly set up. This is likely due to missing or incorrect configuration of the Google Sign-In API.

🛠️ Step-by-Step Verified Fixes

Method 1: Verify OAuth2 Configuration

  1. Step 1: Go to the Google Cloud Console and select your Firebase project.
  2. Step 2: Navigate to the APIs & Services > OAuth 2.0 clients page.
  3. Step 3: Ensure that the 'Web application' client ID is selected and has the correct project ID, authorized JavaScript origins, and authorized redirect URIs.

Method 2: Update Firebase Configuration

  1. Step 1: In your Firebase project, go to the Firebase Console and select the Authentication tab.
  2. Step 2: Ensure that the 'Google Sign-In' provider is enabled and has the correct configuration settings.
  3. Step 3: Verify that the 'OAuth2 Configurations' section is correctly set up with the required client ID, authorized JavaScript origins, and authorized redirect URIs.

💡 Conclusion

By following these steps, you should be able to resolve the 'UNREGISTERED_ON_API_CONSOLE' error and successfully integrate Google Sign-In into your Firebase project.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions