Search results
People also ask
How do I set up authorization using API Yandex ID?
What is API Yandex ID?
How do I use Yandex OAuth?
Can users authorize with a Yandex account?
How can I restrict access to a Yandex app?
How does Yandex ID work?
To set up authorization using API Yandex ID, prepare your app for working with the OAuth 2.0 protocol: Register your app in the service Yandex OAuth. Set up app access to Yandex ID. To do this, obtain the user's consent to work with the app and use one of the following methods to request an OAuth token:
Set up working with the OAuth protocol so that users can authorize on your website or service page. To do this, you need an OAuth token. An OAuth token can be used to access Yandex services on behalf of a specific user providing they have granted the permission to do so.
See Set up the sdk-suggest.js script for the authorization page to learn more about the sdk-suggest.js script. Prepare an auxiliary page that will receive the OAuth token. Create a blank page at the address you entered in the Redirect URI field for the OAuth app registered in Step 1. You don't have to style the auxiliary page.
To set up SDK Yandex ID authorization in your service, follow these steps: Register your app in Yandex OAuth. About. Concepts ...
Instead of your own authorization server, you can use the Yandex ID API to authenticate Yandex users. What's next. Link accounts in the developer console. Useful links. OAuth 2.0 specification. OAuth implementation in Yandex. Was the article helpful?
Sep 19, 2024 · Written by. Yandex Cloud. Updated at September 19, 2024. To perform operations via the API, you need to get an IAM token: How to get a token for a Yandex account. How to get a token for a service account. How to get a token for a federated account. Specify the received IAM token when accessing Yandex Cloud resources via the API.
Using API Yandex ID, you can set up user authorization via the OAuth 2.0 protocol on your website or in your mobile app. API Yandex ID makes interaction with your website easier: Users can authorize with their Yandex account. They won't have to create a new account and fill out additional forms.