Yandex signs users in with their Yandex account, widely used across Russian-speaking markets for mail, maps, and cloud services.
Copy the redirect URI
In the Authdog console, select the project and environment, open Authentication > Providers, find Yandex, and click Enable. Copy the redirect URI shown in the form:
https://identity.authdog.com/api/v1/callback/<connectionId>Create the application
- Open the Yandex OAuth application page and create an application.
- Choose Web services as the platform.
- Set the Redirect URI to the redirect URI from Authdog.
- Grant the
login:infoandlogin:emailpermissions. - Copy the ClientID and Client secret.
Configure Authdog
| Field | Value |
|---|---|
| Client ID | The client identifier from the provider |
| Client Secret | The client secret from the provider |
Save, then toggle the connection active.
What Yandex returns
Authdog requests the login:info login:email scopes and reads the profile from https://login.yandex.ru/info.
The info endpoint returns the Yandex id, login, display name, real name, and default email.
Yandex ids are numeric and stable; logins can change.
Test it
- Open your environment's hosted sign-in page, or link to
https://identity.authdog.com/api/v1/signin/<connectionId>. - Select the Yandex button and complete the flow.
- Confirm the user appears under Users in the console with a Yandex identity linked.
Troubleshooting
| Symptom | Cause |
|---|---|
invalid_scope |
The permissions were not granted on the application |
| Redirect or callback URL error | The URI registered with the provider does not match Authdog's exactly |
| Works in one environment only | Each environment has its own connectionId, and so its own redirect URI to register |
Related
| Read | To learn how to |
|---|---|
| Connectors | Set up any other social provider |