Skip to content

AI & TechnologyGoogle Sign-In for Android Is Deprecated: Moving to Credential Manager

Simon Dziak
Simon Dziak
Founder & developer, App369
LinkedIn
October 18, 20268 min

Key takeaways

  • Google deprecated the legacy Google Sign-In for Android API and says it will be removed from the Google Play services Auth SDK. Sign in with Google now runs through Credential Manager.
  • Google's September 11, 2024 timeline listed Smart Lock for Passwords as shut down in Q1 2025, and One Tap and Google Sign-In for Android for removal in the second half of 2025. Its current migration page still says the removal comes in a future release.
  • Sign-in and access to Google APIs are now separate steps. Credential Manager signs the user in; for scopes such as Google Drive, Google says to use the AuthorizationClient API.
  • In Flutter, google_sign_in 7.0.0 is a breaking release: GoogleSignIn is a singleton you must initialize first, and authentication and authorization are separate. On Android, google_sign_in_android 7.0.0 switched to Credential Manager.
  • Several failures after the move come from configuration, not code: a missing web OAuth client (serverClientId), or a missing SHA fingerprint for one build type. Some of these surface as a "canceled" error.

Pricing an app? Try the free app cost calculator or get a range for your project in the instant quote.

Google Sign-In for Android is deprecated, and Sign in with Google now runs through Credential Manager. If your app still uses GoogleSignInClient and GoogleSignInOptions from play-services-auth, or One Tap, move it to Credential Manager before Google removes the old code from the SDK. In a Flutter app the move is an upgrade to google_sign_in 7, which is a breaking release. Much of the work is in the code, and some of the bugs afterwards are in the setup.

If you landed here from an old link to Google's Android sign-in guide, that address now redirects to the Credential Manager overview. The dates and behavior below come from Android Developers, the Android Developers Blog and the Flutter plugin pages, as listed in the sources. I checked each page on October 18, 2026.

Disclosure: App369 is my studio. I build and fix Flutter and Firebase apps, and the last section mentions what I sell. Google doesn't pay me for anything on this page.

What changed, and when

WhenWhat happenedSource
September 11, 2024Google announces that Credential Manager replaces its legacy Android sign-in APIs, and publishes a removal timelineAndroid Developers Blog
Q1 2025Smart Lock for Passwords: listed as fully shut downAndroid Developers Blog
H1 2025Credential Saving API and the Sign in with Google button API: listed for removalAndroid Developers Blog
H2 2025One Tap and Google Sign-In for Android: listed for removalAndroid Developers Blog
NowGoogle's migration page says legacy Google Sign-In is deprecated and will be removed from the Play services Auth SDK in a future releaseAndroid Developers

The two sources don't give the same date. The 2024 post gave half-year targets; the migration page, last updated March 6, 2026, gives none. What both say is the same: the old APIs are on their way out, and new work belongs on Credential Manager.

What the old addresses do today

Checked on October 18, 2026:

  • developers.google.com/identity/sign-in/android/start-integrating, the old setup guide, redirects to the Android Credential Manager overview.
  • developers.google.com/identity/sign-in/android/sign-in redirects there too.
  • developers.google.com/identity/sign-in/android/legacy-gsi-migration returned 404. The live migration page is on developer.android.com, linked in the sources.
  • developers.google.com/identity/one-tap/android/overview redirects to a page that says One Tap for Android is deprecated.

Moving a native Android app to Credential Manager

The steps follow Google's Sign in with Google implementation guide:

  1. Add the dependencies. Add androidx.credentials:credentials, androidx.credentials:credentials-play-services-auth and com.google.android.libraries.identity.googleid:googleid. Check the androidx.credentials release page for the current stable version: on October 18, 2026 the newest stable release listed was 1.6.0, while Google's sample used a 1.7.0 alpha.
  2. Use your web client ID. Google's guide passes the Web client ID you set up for OAuth in your Google Cloud project as the server client ID, even in an Android app. The project also has to know your Android app: the Flutter plugin's docs list a wrong package name or a missing signing SHA as common causes of failed sign-in.
  3. Build the request. For the bottom-sheet flow, use GetGoogleIdOption with your web client ID. Google's guide first sets setFilterByAuthorizedAccounts(true) to offer accounts that already signed in, with setAutoSelectEnabled(true) for returning users. For a "Sign in with Google" button, use GetSignInWithGoogleOption.
  4. Call Credential Manager. Create it with CredentialManager.create(context) and call getCredential with the request. When the result is a GoogleIdTokenCredential, read it with GoogleIdTokenCredential.createFrom(credential.data).
  5. Verify the ID token on your server. Send the ID token to your backend and verify it there. If you use Firebase Authentication, use the Google ID token with Firebase Auth.
  6. Move scopes to AuthorizationClient. Google says sign-in and authorization are separate actions now. If your app reads Drive, Calendar or another Google API, request those scopes with the AuthorizationClient API when the user needs that feature, not at sign-in.
  7. Replace silent sign-in. Google's migration page says to use a request with filterByAuthorizedAccounts set to true and auto-select on, in place of silentSignIn.
  8. Remove the old code. Once the new path works, remove GoogleSignInClient, GoogleSignInOptions and any One Tap code, so an old error can't be mistaken for a new one.

Moving a Flutter app to google_sign_in 7

On Android, google_sign_in_android 7.0.0 switched to Credential Manager. Its changelog says it removed the deprecated Google Sign In for Android SDK. google_sign_in 7.0.0 is a breaking release, and its changelog lists the main changes:

  • GoogleSignIn is a singleton. Use GoogleSignIn.instance instead of creating your own GoogleSignIn(...).
  • Initialize first. Call and await initialize, passing serverClientId where needed, before any other method.
  • Sign-in is authenticate(). Check supportsAuthenticate() first, because not every platform supports it. attemptLightweightAuthentication() covers returning users.
  • Authentication and authorization are separate. Access tokens and server auth codes come from separate calls through the account's authorizationClient, with authorizationForScopes to check and authorizeScopes to ask, from a user interaction.

Plan for the upgrade to touch every place your app signs in, reads the current user or asks for scopes. It isn't a version bump you can make in one line.

When sign-in breaks after the move

What you seeWhat it usually meansWhat to check
"serverClientId must be provided on Android"The plugin can't find your web OAuth clientgoogle-services.json needs an oauth_client entry with client_type: 3. If it's missing, add a web app to the project and download the file again, or pass the web client ID to initialize
Sign-in reports "canceled" when the user didn't cancelSometimes a configuration errorThe plugin's docs say some configuration errors come back from Credential Manager as "canceled", and the plugin can't tell them from a real cancel. Check the client IDs, package name and SHA fingerprints
Works in debug, fails in release or from PlayThe release signing key's SHA isn't registeredRegister the signing SHA for each build configuration that fails, including the Play App Signing key shown in Play Console if you use it
Sign-in works, but API calls fail with no tokenAuthentication and authorization are separate steps nowRequest them with AuthorizationClient (authorizeScopes in Flutter)
Package name mismatchThe Android client in Google Cloud has a different package nameMatch the package name in Google Cloud or Firebase to applicationId

Need a hand?

If sign-in still fails after the move, or it works on your phone but not for your users, the App Fix Ticket covers it in two fixed-price steps. A $450 Diagnosis gives you the root cause with evidence and a fixed repair quote within 3 business days, credited toward the fix. If you go ahead, the $1,200 Fix takes 5 business days. For a related Android change, see SafetyNet is gone: moving to Play Integrity and App Check, or send me a short description.

Frequently asked questions

Is Google Sign-In for Android deprecated?
Yes. Google's migration page says legacy Google Sign-In for Android is deprecated and will be removed from the Google Play services Auth SDK (play-services-auth). Google recommends Sign in with Google through Credential Manager instead.
When will GoogleSignInClient stop working?
Google's September 2024 timeline put the removal of Google Sign-In for Android in the second half of 2025. Its current migration page, last updated March 6, 2026, says the API will be removed in a future release, without a date. Google says removal comes in a future release, so migrate now.
What replaced Google One Tap and Smart Lock on Android?
Credential Manager. Google's One Tap page now says One Tap for Android is deprecated and to migrate to Credential Manager, and the Smart Lock for Passwords page says the same.
How do I get an access token for Google APIs after the migration?
Request them in a separate step from sign-in. Credential Manager returns an ID token that proves who the user is. To call Google APIs such as Drive, request the scopes with the AuthorizationClient API, which Google says apps should keep using for authorization.
Why does Flutter say "serverClientId must be provided on Android"?
The google_sign_in Android plugin needs your web OAuth client ID. The plugin's documentation says google-services.json should contain a web OAuth client (an oauth_client entry with client_type 3). If it doesn't, add a web app to the project and download the file again, or pass the web client ID as serverClientId when you call initialize.
Why does Google sign-in work in debug but not in release?
A common cause is that the release build's signing SHA isn't registered in your Firebase or Google Cloud project. The plugin's documentation lists a missing or wrong SHA as a common cause of sign-in working in one build configuration but not another.

Sources

  1. Android Developers Blog, "Streamlining Android authentication: Credential Manager replaces legacy APIs" (September 11, 2024)
  2. Android Developers, about the migration from legacy Google Sign-In
  3. Android Developers, about Sign in with Google
  4. Android Developers, implement Sign in with Google
  5. Android Developers, about Credential Manager
  6. Android Developers, One Tap for Android (deprecated)
  7. Android Developers, androidx.credentials releases
  8. Firebase, authenticate with Google on Android
  9. pub.dev, google_sign_in_android (Android setup and troubleshooting)
  10. pub.dev, google_sign_in changelog
  11. pub.dev, google_sign_in_android changelog
Tags
#google sign-in android deprecated #googlesigninclient deprecated #credential manager migration #sign in with google android #one tap android deprecated #smart lock for passwords deprecated #play-services-auth migration #google_sign_in 7 migration #flutter google sign in android #serverClientId must be provided on Android
Share:

Related Resources

Related guides