How it works

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

  1. Register your app in the service Yandex OAuth.

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

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

    • Android Google Play URL. Link to the app in Google Play.

    • SHA256 Fingerprints. The certificate fingerprint of your app. Learn more about generating a fingerprint in the Android documentation.

    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.