Enabling the Yandex ID API
To use the Yandex ID API in a web application, you need to:
- Implement receiving and processing OAuth tokens in the application.
- Provide an interface for users to log in via Yandex.
Registering an application on Yandex.OAuth
To learn more about this process, go to Registering an application in the documentation for Yandex.OAuth.
Obtaining OAuth tokens
The token that is obtained must be specified in every call to the Yandex ID API, either in the
Authorization header, or in the value of the
oauth_token HTTP parameter.
You should request an OAuth token for every new user of your website or application who logs in via Yandex.
Overview of the OAuth protocol
The Yandex implementation of the OAuth protocol is described in the API documentation.
To work with the protocol, you can use any of the available libraries for various programming languages.