How it works
To set up SDK Yandex ID authorization in your service, follow these steps:
-
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
applicationIdfield in thebuild.gradlefile 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.
-
-
Configure your service for using tokens.
-
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.