[firebase_auth]: <Google Sign-In on Android throws com.google.android.gms.common.api.ApiException: 12500 despite correct SHA-1 and OAuth consent screen setup>
Is there an existing issue for this?
- [x] I have searched the existing issues.
Which plugins are affected?
Auth
Which platforms are affected?
Android
Description
Steps to reproduce
I’m trying to integrate Google Sign-In into my Flutter Android app using Firebase Authentication, but every attempt ends with(This happened only on release):
com.google.android.gms.common.api.ApiException: 12500:
Status{statusCode=SIGN_IN_FAILED, resolution=null}
- I'm using google App signing and I have set up the hash keys inside my firebase project.
- OAuth Consent Screen (Google Cloud Console)
- Set the Application name, Support email, and uploaded an App logo.
- Added my domain under Authorized domains.
- Provided Developer contact information.
- Under Verification, my app is marked “Verified”.
The only thing that I'm concern is Firebase console warning inside project settings:
“To update public-facing name or support email, submit a request via Google Cloud Console. The update will require OAuth brand verification.”
I’m not sure if this pending “brand verification” is blocking my sign-in, or if it’s just informational.
Expected results
To use google login on my android app.
Actual results
com.google.android.gms.common.api.ApiException: 12500: Status{statusCode=SIGN_IN_FAILED, resolution=null}
The error should be a bug between the consent screen and the Firebase project that is not getting updated.
Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[âś“] Flutter (Channel stable, 3.29.2, on macOS 15.5 24F74 darwin-arm64, locale en-US)
[âś“] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[âś“] Xcode - develop for iOS and macOS (Xcode 16.0)
[âś“] Chrome - develop for the web
[âś“] Android Studio (version 2023.3)
[âś“] VS Code (version 1.100.2)
[âś“] Connected device (3 available)
[âś“] Network resources
• No issues found!
Reproducing the issue
When I click sign in with google
Firebase Core version
^3.12.1
Flutter Version
Flutter (Channel stable, 3.29.2, on macOS 15.5 24F74 darwin-arm64, locale en-US)
Relevant Log Output
Flutter dependencies
Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.
Additional context and comments
No response
Hi @Jordan3900, I'm unable to reproduce this issue. I suspect there might be a misconfiguration on your end. Kindly reference the doc to ensure you're not missing anything. You might also find this StackOverflow thread helpful.
Hi there, since this issue is going stale I will be closing this. Please feel free to reopen if the issue persists.