How to Fix: Google sign in failed com.google.android.gms.common.api.ApiException: 10:
Fix Google sign in failed com.google.android.gms.commo. Check if you have registered your projec. Step-by-step guide included.
📋 Table of Contents
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
- Step 1: Go to the Google Cloud Console and select your Firebase project.
- Step 2: Navigate to the APIs & Services > OAuth 2.0 clients page.
- 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
- Step 1: In your Firebase project, go to the Firebase Console and select the Authentication tab.
- Step 2: Ensure that the 'Google Sign-In' provider is enabled and has the correct configuration settings.
- 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.
❓ Frequently Asked Questions
🛠️ Related Fixes
How to Fix: Pc crashes shortly after launching game (rainbow
Fix Pc crashes shortly after launching game (rainbow six siege). Compl
How to Fix: Installing an APK on a locked down phone
Installing an APK on a locked down phone: Try using a rooted device, e
How to Fix: New PC build- no signal and no clue
Fix New PC build- no signal and no clue. Complete troubleshooting guid