Using Credential Manager starting with Google Sign-in migration
summary
Explains migrating from Google Play Services Auth (deprecated 2025) to Jetpack Credentials and Google ID libraries: replace play-services-auth calls with GetSignWithGoogleOption or GetGoogleIDOption, copy your Web client ID, run the UI with an activity context and coroutines, and handle GetCredential exceptions. Describes using Android 14 native Credential Manager with an Android 13 fallback via Play Services, using a nonce for replay protection, and how the Credential Manager bottom sheet affects account addition and logout.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 1:23What is Google Sign-in
- 2:26Deprecation and migration
- 4:33Google Play Services mechanics
- 7:40Google Play Services APIs
- 9:25Identity Services overview
- 11:53Credential Manager basics
- 13:38Credential Manager by Android version
- 16:49Credential Manager on Android 13+
- 19:18Credential Manager universal API
- 24:13Implementation with Google Play Services
- 27:26Legacy Google Sign-in
- 28:10Implementation with Credential Manager
- 30:41Google Sign-in options
- 34:14Response handling and ID token
- 36:41Google Sign-in UI integration
- 38:25Migration steps
- 39:50Summary
related talks
42mUser Identity and Sign In with Google
40mGoogle+ Sign-In for Android Developers
30mBest practices for using sign-un for Android apps
27mPasskeys on Google platforms: updates on latest features and real-world successes
06mOptimizing user flows through login
24mPasskeys and digital identity best practices
31mLevel up! A better gaming experience with Google Play services
20mHow to best authenticate with non-Google identities
