Flow
To set up SDK Yandex ID authorization in your service, follow these steps:
-
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 thebuild.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.
-
-
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.