googblogs.com

All Google blogs and Press in one site

Skip to content
  • Home
  • Categories
    • Google Ads Developer Blog
    • Google Africa Blog
    • AdWords Agency Blog
    • Android Blog
    • Android Developers Blog
    • Australia Blog
    • Blogger Buzz
    • Consumer Packaged Goods Blog
    • Custom Search Blog
    • DoubleClick Advertiser Blog

Streamlining Android authentication: Credential Manager replaces legacy APIs

Posted by Diego Zavala and Jason Lucibello – Product Managers

In 2023, we introduced Credential Manager for Android. Credential Manager creates a unified experience for passkeys, Sign in with Google, and passwords, allowing seamless sign-in and eliminating the need for users to type in usernames or passwords.

ALT TEXT
Fig 1. Sample app showing Credential Manager dialog in a sign-in flow with a passkey, a password, and a Sign in with Google options

To bring Credential Manager’s benefits to more Android users and simplify developers’ integration efforts, APIs that were previously deprecated will continue their phased removals and shutdowns. These APIs include:

    • Smart Lock for Passwords API
    • Credential Saving API
    • Sign in with Google button API
    • One Tap Sign-in API
    • Google Sign-In for Android (GSI) API

Developers with apps that still use these APIs should migrate to Credential Manager as soon as possible. Credential Manager supports all authentication features included in these legacy APIs, as well as streamlined journeys for users and modernizes the experience with passkey support and streamlined user journeys. Developers looking to implement authorization functionality for Google Accounts, such as scoped access to a service like Google Drive, should continue to use the AuthorizationClient API.

Current status of APIs as of September 2024, update plans, and recommended migration guides.

API: Smart Lock for Passwords
Status: Removed
Next Update: Fully shut down in Q1 2025
Migration guide: Migrate from Smart Lock for Passwords to Credential Manager

API: Credential Saving API
Status: Deprecated
Next Update: Removed in H1 2025
Migration guide: Migrate passwords to Credential Manager

API: Sign in with Google button
Status: Deprecated
Next Update: Removed in H1 2025
Migration guide: Migrate to the Sign in with Google button and Credential Manager

API: One Tap Sign-in
Status: Deprecated
Next Update: Removed in H2 2025
Migration guide: Authenticate users with Sign in with Google and Credential Manager

API: Google Sign-In for Android
Status: Deprecated
Next Update: Removed in H2 2025
Migration guide: Migrate from legacy Google Sign-In to Credential Manager

What does each status mean?

    • Deprecated: API is still in the SDK and functional, but will be removed and fully shut down in the future. Developers are recommended to migrate to Credential Manager at this time.
    • Removed: API is still functional for users, but is no longer included in the SDK. New app versions compiled with the most recent SDK would fail in the build process if your code still utilizes the removed API. If your app still relies on any of these APIs, you should migrate to Credential Manager as soon as possible.
    • Fully shut down: API is no longer functional, and it will fail when a request is sent by an app.

Credential Manager offers streamlined, more secure auth journeys

Credential Manager delivers multiple advantages to users and developers over the deprecated APIs:

      1. Easier, more secure sign-ins with passkeys: Passkeys are an alternative to passwords that provide an easier and more secure authentication experience, based on industry standards. Credential Manager brings support for passkeys to Android apps.

      2. Frictionless, one-tap sign-in: Users select their preferred saved credential from the options offered, without needing to remember or type username or passwords.

      3. Unified UI across all credentials: Credential Manager’s one-tap sign-in works with passkeys, Sign in with Google, and passwords. It deduplicates methods for the same account, so users no longer need to remember which method they last used, or which one is the “right” method.

      4. Extended support for password managers: Users benefit from using the credentials stored in their preferred password manager on Credential Manager flows, and can even enable multiple password managers at the same time! Passwords managers not only protect users’ credentials, but they also provide additional action and protections to keep users safe, such as upgrading passwords to passkeys, alerting users to password reuse, and containing usage to affiliated apps and domains.

      5. Simplified development: Developers can consolidate their sign-in logic into a single, modern API, reducing development overhead and maintenance efforts. New authentication functionality will be released through Credential Manager going forward.

Adopting Credential Manager is an intuitive upgrade for developers

For developers previously using our deprecated APIs, the transition to Credential Manager is smooth and intuitive. Developers like X (formerly known as Twitter), Pinterest have already experienced the benefits of the upgrade. X shared with us that Credential Manager’s unified approach made migration and maintenance effortless, while Pinterest expressed a smooth process for both users and engineers with Credential Manager.

Quote text reads: 'The Credential Manager library allowed us to unify Smart Lock, Sign in with Google, and passkeys under one cohesive umbrella, significantly reducing the amount of code required. The unified process made migration and maintenance effortless, empowering us to enhance security and user experience with ease' Saurabh Arora, Staff SoftwareEngineer, X (formerly Twitter)

Quote text reads: 'Migrartingo ur codebase to Credential Manager on Android was a smooth process for users and engineers, which aallowed us to have more cohesive and simplified process to support and maintain authentication at Pinterest. Our Android users have benfitted from frictionless sign-in and sign-up using Google, currently accounting for over 75% of user authentications.' - Jorge Garmendia Identity Product safety and Compliance Client Engineering Lead, Pinterest

Developers can use the following guides to make adopting Credential Manager even easier:

    • Get started: Credential Manager Implementation Guide
    • Migrate from Smart Lock for Passwords to Credential Manager guide
    • Migrate from legacy Google Sign-In to Credential Manager
    • Authenticate users with Sign in with Google using Credential Manager

Share your feedback

Your input is very valuable to us as we continue to refine and improve our authentication services. Please keep providing us feedback on the issue tracker and share your experience integrating Credential Manager!

Source: Android Developers Blog


This entry was posted in Android Developers Blog and tagged Android, Authentication, Credential Saving, Google Sign-In, OneTap sign-in, Smart Lock on September 11, 2024 by Android Developers.

Post navigation

← Chrome Beta for iOS Update How we built 3 key fitness metrics for Pixel Watch 3 →

Recent Comments

    Archives

    • June 2025
    • May 2025
    • April 2025
    • March 2025
    • February 2025
    • January 2025
    • December 2024
    • November 2024
    • October 2024
    • September 2024
    • August 2024
    • July 2024
    • June 2024
    • May 2024
    • April 2024
    • March 2024
    • February 2024
    • January 2024
    • December 2023
    • November 2023
    • October 2023
    • September 2023
    • August 2023
    • July 2023
    • June 2023
    • May 2023
    • April 2023
    • March 2023
    • February 2023
    • January 2023
    • December 2022
    • November 2022
    • October 2022
    • September 2022
    • August 2022
    • July 2022
    • June 2022
    • May 2022
    • April 2022
    • March 2022
    • February 2022
    • January 2022
    • December 2021
    • November 2021
    • October 2021
    • September 2021
    • August 2021
    • July 2021
    • June 2021
    • May 2021
    • April 2021
    • March 2021
    • February 2021
    • January 2021
    • December 2020
    • November 2020
    • October 2020
    • September 2020
    • August 2020
    • July 2020
    • June 2020
    • May 2020
    • April 2020
    • March 2020
    • February 2020
    • January 2020
    • December 2019
    • November 2019
    • October 2019
    • September 2019
    • August 2019
    • July 2019
    • June 2019
    • May 2019
    • April 2019
    • March 2019
    • February 2019
    • January 2019
    • December 2018
    • November 2018
    • October 2018
    • September 2018
    • August 2018
    • July 2018
    • June 2018
    • May 2018
    • April 2018
    • March 2018
    • February 2018
    • January 2018
    • December 2017
    • November 2017
    • October 2017
    • September 2017
    • August 2017
    • July 2017
    • June 2017
    • May 2017
    • April 2017
    • March 2017
    • February 2017
    • January 2017
    • December 2016
    • November 2016
    • October 2016
    • September 2016
    • August 2016
    • July 2016
    • June 2016
    • May 2016
    • April 2016
    • March 2016
    • February 2016
    • January 2016
    • December 2015
    • November 2015
    • October 2015
    • September 2015
    • August 2015
    • July 2015
    • June 2015
    • May 2015
    • April 2015
    • March 2015
    • February 2015
    • January 2015
    • December 2014
    • November 2014
    • October 2014
    • September 2014
    • August 2014
    • July 2014
    • June 2014
    • May 2014
    • April 2014
    • March 2014
    • February 2014
    • January 2014
    • December 2013
    • November 2013
    • October 2013
    • September 2013
    • August 2013
    • July 2013
    • June 2013
    • May 2013
    • April 2013
    • March 2013
    • February 2013
    • January 2013
    • December 2012
    • November 2012
    • October 2012
    • September 2012
    • August 2012
    • July 2012
    • June 2012
    • May 2012
    • April 2012
    • March 2012
    • February 2012
    • January 2012
    • December 2011
    • November 2011
    • October 2011
    • September 2011
    • August 2011
    • July 2011
    • June 2011
    • April 2011
    • March 2011
    • February 2011
    • March 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009

    Categories

    • AdMob Blog
    • Ads Developer Blog
    • AdWords Agency Blog
    • Android Blog
    • Android Developers Blog
    • Apps Feed Blog
    • Artificial Intelligence
    • Australia Blog
    • Blogger Buzz
    • Consumer Packaged Goods Blog
    • Custom Search Blog
    • Data Liberation Blog
    • DoubleClick Advertiser Blog
    • DoubleClick Publishers Blog
    • DoubleClick Search Blog
    • Geo Developers Blog
    • Google Ads Developer Blog
    • Google Africa Blog
    • Google Analytics Blog
    • Google and Your Business
    • Google Apps Developer Blog
    • Google Canada Blog
    • Google Chrome Blog
    • Google Chrome Releases
    • Google Cloud Platform Blog
    • Google Commerce Blog
    • Google Developers Blog
    • Google Drive Blog
    • Google Europe Blog
    • Google Fiber
    • Google for Education Blog
    • Google for Nonprofits
    • Google for Work Blog
    • Google Green Blog
    • Google India Blog
    • Google LatLong Blog
    • Google New Zealand Blog
    • Google News Blog
    • Google Scholar Blog
    • Google Testing Blog
    • Google Translate Blog
    • Google Travel Blog
    • Google Web Fonts Blog
    • Google Webmaster Central Blog
    • Inside AdSense
    • Inside AdWords
    • Inside Search Blog
    • Official Gmail Blog
    • Official Google Blog
    • Online Security Blog
    • Open Source Blog
    • Politics & Elections Blog
    • Public Policy Blog
    • Research Blog
    • Student Blog
    • Uncategorized
    • YouTube Blog
    • YouTube Blog – Australia
    • YouTube Blog – U.K.
    • YouTube Blogs
    • YouTube Creators
    • YouTube Creators – UK
    • YouTube Engineering and Developers Blog
    Proudly powered by WordPress