Categories: Apps

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.

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:

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.

Status: Removed

Next Update: Fully shut down in Q1 2025

Status: Deprecated

Next Update: Removed in H1 2025

Status: Deprecated

Next Update: Removed in H1 2025

Status: Deprecated

Next Update: Removed in H2 2025

Status: Deprecated

Next Update: Removed in H2 2025

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.

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

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 link

Washington Digital News

Share
Published by
Washington Digital News

Recent Posts

Where Will Mortgage Rates Go?

Ad hoc time series analysis. The 30 year mortgage rate and 10 year Treasury constant…

2 hours ago

Germany's Commerzbank and DZ Bank To Offer Bitcoin and Crypto Trading

Germany's two of the largest five banks, Commerzbank and DZ Bank, are launching Bitcoin and…

2 hours ago

Supply chain mystery surrounds how Hezbollah’s pagers and walkie-talkies were turned into miniature bombs

Two straight days of explosions surgically targeting Hezbollah militants across Lebanon pulled the covers off…

2 hours ago

Tom Steyer of Galvanize Climate Solutions is funding technology to save the planet

On this episode of Fortune’s Leadership Next podcast, host Diane Brady talks to Tom Steyer, co-executive chair of Galvanize…

3 hours ago

Drone Surveillance Market Is To Reach USD 1899.55 Million 2032, Growing At A Rate Of 24.2% To Forecast 2024-2032

 (EMAILWIRE.COM, September 12, 2024 ) Pune, 12, September 2024: The Global Drone Surveillance Market was…

3 hours ago

Giant rats trained to sniff out illegal wildlife trade

African giant pouched rats proved adept at detecting four commonly trafficked products derived from endangered…

3 hours ago