Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Tutorials
    • All tutorials
    • Differentiation of access permissions for user groups
    • Inviting a new user and assigning roles
    • Creating an L7 load balancer with a Smart Web Security profile through an Application Load Balancer ingress controller
    • Creating a distributed infrastructure with secure access
    • Centralized online publication and DDoS protection of applications
    • Basic SWS setup
    • Connecting SolidWall WAF to a web application
    • Emergency L7 DDoS protection in Application Load Balancer
    • Delivering logs from a VM instance to Cloud Logging
    • Writing load balancer logs to PostgreSQL
    • Secure storage of GitLab CI passwords as Yandex Lockbox secrets
    • Service account with an OS Login profile for VM management via Ansible
    • Transferring logs from Container Optimized Image to Cloud Logging
    • Adding an HTML page for SmartCaptcha
    • Configuring alerts and dashboards in Monitoring
    • Uploading audit logs to Splunk SIEM
    • Uploading audit logs to ArcSight SIEM
    • Server-side encryption for an Object Storage bucket
    • Encrypting secrets in Hashicorp Terraform
    • Managing KMS keys with Hashicorp Terraform
    • Auto Unseal in Hashicorp Vault
      • 1C:Enterprise
      • Grafana OSS
      • Harbor
      • Managed Service for GitLab
      • Managed Service for OpenSearch
      • MWS
      • NetBird
      • OpenSearch
      • Open WebUI
        • SAML
        • OpenID Connect
      • Sentry
      • SonarQube
      • VK Cloud
      • Zabbix
      • MTS Link
      • Passwork
      • Yandex 360
      • Yandex Browser for organizations
      • Using OAuth2 Proxy for applications not supporting SSO
    • Transferring a Yandex MPP Analytics for PostgreSQL cluster's logs to Yandex Cloud Logging
    • Obtaining the information you need to request the Russian Ministry of Digital Development to whitelist a resource
    • Uploading objects into an Object Storage bucket using an ephemeral access key
    • Integrating LiteLLM Proxy with Yandex Cloud AI Studio and Monium Traces

In this article:

  • Create an app
  • Set up the integration
  • Get the application’s credentials
  • Create a federation in Selectel
  • Set up your application in Yandex Identity Hub
  • Add users
  • Test SSO
  1. Security
  2. Setting up single sign-on (SSO) for apps
  3. Selectel
  4. OpenID Connect

Creating an OIDC application in Yandex Identity Hub for integration with Selectel

Written by
Yandex Cloud
Updated at December 1, 2026
View as Markdown
  • Create an app
  • Set up the integration
    • Get the application’s credentials
    • Create a federation in Selectel
    • Set up your application in Yandex Identity Hub
    • Add users
  • Test SSO

To enable your organization users to authenticate in Selectel through OpenID Connect (OIDC), create an OIDC application in Yandex Identity Hub and set up Selectel integration.

OIDC apps can be managed by users with the organization-manager.oauthApplications.admin role or higher.

To enable single sign-on in Selectel:

  1. Create an app.
  2. Set up the integration.
  3. Test SSO.

Create an appCreate an app

Cloud Center UI
  1. Log in to Yandex Identity Hub.
  2. In the left-hand panel, select  Apps.
  3. Click Create application and do the following in the window that opens:
    1. Select the OIDC (OpenID Connect) single sign-on method.
    2. In the Application type field, select Web Application.

      OIDC apps of the Web Application type are optimized for user authentication to external web apps with a server end (backend), where the application secret can be safely stored. For more information about OIDC application types, see Types of OIDC apps in Yandex Identity Hub.

    3. In the Name field, enter the application name: selectel-oidc.
    4. In the Folder field, select the folder where you want to create an OAuth client for your app.
    5. Optionally, in the Description field, enter a description for the new app.
    6. Click Create application.

Set up the integrationSet up the integration

Get the application’s credentialsGet the application’s credentials

Cloud Center UI
  1. Open the OIDC app you created.
  2. Under Overview on the Identity provider (IdP) configuration tab, expand the Additional attributes section and copy the ClientID value.
  3. Create an app secret (only available for applications of the Web Application type).

    To do this, under App secrets, click Add secret, and in the window that opens:

    1. Optionally, add a description for the new secret.

    2. Click Create.

      The window will display the generated application secret. Save this value.

      Warning

      If you refresh or close the application information page, you will not be able to view the secret again.

    If you closed or refreshed the page before saving the secret, click Add secret to create a new one.

    To delete a secret, in the list of secrets on the OIDC app page, click in the secret row and select Delete.

Create a federation in SelectelCreate a federation in Selectel

Note

To create a federation in Selectel, you must be an account owner or have the iam.admin role.

To set up a federation:

  1. Log in to the Selectel control panel.

  2. In the top menu, select IAM and go to Federations.

  3. Click Add federation and select OpenID Connect (OIDC).

  4. Under Federation settings:

    1. In the Name field, enter a name for the federation, such as identity-hub-oidc.
    2. Optionally, in the Description field, specify the federation description.
    3. Under Session lifetime, specify how long an authentication session will last or leave the default value (24 hours).
  5. Under IDP settings, specify the integration settings:

    • IdP Issuer: https://auth.yandex.cloud.
    • Client ID: ClientID field value you copied at the previous step.
    • Client Secret: App secret you saved at the previous step.
    • Auth URL: https://auth.yandex.cloud/oauth/authorize.
    • Token URL: https://auth.yandex.cloud/oauth/token.
    • JWKS URI: https://auth.yandex.cloud/oauth/jwks/keys.
  6. Disable Autocreate users, if enabled.

  7. Click Create federation.

  8. On the federation page, copy its ID.

Set up your application in Yandex Identity HubSet up your application in Yandex Identity Hub

Cloud Center UI
  1. Go back to Yandex Identity Hub, select Apps, and open selectel-oidc.
  2. At the top right, click Edit and in the window that opens:
    1. In the Redirect URI field, enter this address:

      https://api.selectel.ru/v1/auth/federations/oidc/<federation_ID>/callback
      

      Where <federation_ID> is the ID of the federation you created in Selectel at the previous step.

    2. Under OAuth/OIDC security in Authentication methods, leave both secret transmission methods active: Client secret basic and Client secret post.

    3. Under OAuth/OIDC security, disable Require PKCE.

      Alert

      For integration with Selectel, Yandex Identity Hub must not require the PKCE security extension during data exchange.

    4. Under Scopes, select openid, email, and profile.

    5. Click Save.

Add usersAdd users

Add users to the Yandex Identity Hub OIDC app and the Selectel federation.

Note

To manage users and groups added to an OIDC application, you need to have the organization-manager.oauthApplications.userAdmin role or higher.

Add users to the OIDC applicationAdd users to the OIDC application

Tip

If you want to fine-tune user authentication in your applications, including authentication only from specific IP addresses, use authentication policies.

Authentication policies are a Yandex Identity Hub tool that allows you to flexibly configure access to applications by denying or allowing authentication for specific users in specific applications and/or from specific IP addresses. For more information, see Authentication policies in Yandex Identity Hub.

To add users:

Cloud Center UI
  1. Open selectel-oidc in Yandex Identity Hub.
  2. Navigate to the Users and groups tab.
  3. Click Add users.
  4. In the window that opens, select the user or user group.
  5. Click Add.

Add users to SelectelAdd users to Selectel

To add a user to a Selectel federation:

  1. Get the user ID in Yandex Identity Hub.
  2. Navigate to the Selectel control panel, select IAM in the top menu and go to Control panel users.
  3. Click Add new control panel user.
  4. Under User data:
    1. In the Login method field, select Federation (<federation_name>).
    2. Under External ID, specify the user ID you got at step 1.
    3. Under Email, specify the user email.
  5. Under Access settings, select the access scope and assign the required permissions to the user.
  6. Click Add user.

Test SSOTest SSO

To verify the integration, log in to Selectel as a user assigned to the OIDC application:

  1. Open the Selectel login page.
  2. If already logged in to Selectel, sign out of your account.
  3. Click Sign in with SSO.
  4. Enter the ID of the Selectel federation you created and click Sign in with SSO.
  5. On the Yandex Cloud authentication page, login to your user account. The user must be directly assigned to the OIDC application or belong to a group assigned to the application.
  6. If Selectel prompts you for your full name on first login, enter it and click Sign in with SSO.
  7. Make sure you are logged in to Selectel.

Was the article helpful?

Previous
SAML
Next
Sentry
© 2026 Direct Cursus Technology L.L.C.