Flow

To set up SDK Yandex ID authorization in your service, follow these steps:

  1. Register your app in Yandex OAuth.

    Under Platforms, select Android app and specify your service's parameters:

    • Android package name. The app package name from the applicationId field in the build.gradle file of your module. Learn more about Android app IDs in the Android documentation.

    • Android Google Play URL. A link to the app in Google Play.

    • SHA256 Fingerprints. Your app's certificate fingerprint. See the Android documentation to learn how to generate such a fingerprint.

    To configure SDK Yandex ID, you'll need the Client ID parameter of the app.

  2. Add the repository and the dependencies.

  3. Configure your service for using tokens.

  4. Get user information.

Tip

For security reasons, SDK Yandex ID for Android doesn't save the obtained tokens on the user's device when its work is finished.