Connecting to API Yandex ID

Using API Yandex ID, you can load user data automatically from their Yandex account. This makes logging in to your website easier, because the user won't have to create a new account and fill out additional forms.

To set up authorization using API Yandex ID, prepare your app for working with the OAuth 2.0 protocol:

  1. Register your app in the service Yandex OAuth.

  2. Set up app access to Yandex ID. To do that, obtain the user's consent for the app's actions and request an OAuth token. Request a token for each new user who logs in to your service via Yandex.

  3. Get user information to be utilized in your app, such as data needed for configuring the user's profile.