The Utilization of Credential Manager - Starting with Google Sign-in Migration

We have been using the com.google.android.gms:play-services-auth library to call the authentication functions of Google Play Services when implementing Google Sign-in in Android apps. However the Google Sign-in function included in this play-services-auth library has been deprecated, and will be removed in 2025. As a migration destination accompanying this decision, Google provides a new mechanism for Google Sign-in using Credential Manager. Credential Manager is not just an alternative to Google Sign-in: it's a library that manages multiple authentication methods in an integrated manner, allowing you to use various authentication methods with the same interface. Therefore, in order to use it effectively, it is important to understand the design of the library and how to integrate it in your application. This session will explain the main features of Credential Manager and how to use them concretely. In addition, I will describe in detail the steps to migrate your Google Sign-in implementation from the play-services-auth library to the new method using Credential Manager, while keeping in mind the role of Google Play services. Hopefully by attending this session, you will learn how to provide more flexible authentication functions to your apps by using Credential Manager, and master the specific steps to migrate Google Sign-in. (Translated by the DroidKaigi Committee)

  • clockvoid Androidアプリエンジニア


Summary

  • Dates 2024.09.13 / 11:20 ~ 12:00 (40min)
  • Place Flamingo
  • Language Japanese

Intended audience

- Android app developers - Those who want to implement authentication features in apps - Anyone who want to gain more insight into the background of Google Sign-in

Android is a trademark of Google LLC. The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License. Android, Google Play and the Google Play logo are trademarks of Google LLC.
Past DroidKaigi

© 2014- DroidKaigi Committee