Creating a SAML app in Yandex Identity Hub for integration with MTS Link
MTS Link
To enable your organization’s users to authenticate in MTS Link using Yandex Identity Hub:
- Getting started.
- Create a SAML application.
- Configure the IdP in MTS Link.
- Set up your application in Yandex Identity Hub.
- Add users to the application.
- Verify your domain and enable SSO in MTS Link.
- Test single sign-on.
Getting started
To configure this integration, you will need:
- Organization in Yandex Identity Hub. If you do not have an organization yet, create one.
- Account with access to the organization's SSO settings in MTS Link.
- Corporate email domain you can verify in MTS Link.
- Test user in Yandex Identity Hub with an email address under this domain. If you do not have a suitable user, add one. Check that the user's profile specifies an email address and their full name.
SAML apps can be managed by users with the organization-manager.samlApplications.admin role or higher.
Create a SAML application
-
Log in to Yandex Identity Hub
and select your organization. -
In the left-hand panel, select
Apps. -
Click
Create application. -
Select the SAML (Security Assertion Markup Language) single sign-on method.
-
In the Name field, enter the application name:
mts-link-saml. -
Click Create application.
-
On the application page, navigate to the Identity provider (IdP) configuration section and copy the following field values:
- Issuer / IdP EntityID
- Login URL
- Logout URL
-
Under Application certificate, click Download certificate.
You will need the values and certificate file you saved to configure the IdP in MTS Link.
Configure the IdP in MTS Link
-
Log in to MTS Link using an account with access to your organization's SSO settings.
-
Navigate to the SSO settings section in your MTS Link organization’s settings. If your organization is hosted on a dedicated subdomain, go to
https://<organization_subdomain>.mts-link.ru/business/sso-settings. Otherwise, navigate tohttps://my.mts-link.ru/business/sso-settings. -
Under Protocol and IdP settings, select the following values:
- Protocol: SAML.
- SSO provider: Active Directory. This option is used for setting up the integration with Yandex Identity Hub.
-
Fill in the fields using the values you saved when creating the SAML application:
MTS Link field
Value from Yandex Identity Hub
Identity Provider (IdP) Entity ID
Issuer / IdP EntityID
Sign-in page URL
Login URL
Sign-out page URL
Logout URL
Identity provider certificate
Full payload of the downloaded certificate file, including
-----BEGIN CERTIFICATE-----and-----END CERTIFICATE-----. -
Save the settings. The Enter this data into your SSO provider section will show the MTS Link settings. Copy and save these values:
- Entity ID
- URL ACS
- URL SLS
Make sure to copy the full values, including all URL parameters. You will need them in the next step.
Set up your application in Yandex Identity Hub
Specify the IdP settings
-
In Yandex Identity Hub
, navigate to Apps and select themts-link-samlapplication. -
At the top right, click
Edit. -
In the Service provider (SP) configuration section, enter the values you copied from MTS Link:
Yandex Identity Hub field
MTS Link value
SP EntityID
Entity ID
ACS URL
URL ACS
SP Logout URL
URL SLS
-
In the Signature mode field, select Assertions and Response.
Warning
For integration with MTS Link, you must sign both the SAML response and its nested assertions. Make sure to use the Assertions and Response mode.
-
Leave the Only accept signed requests and Encrypt assertion in response options disabled for this specific integration.
-
Click Save.
Configure user attributes
MTS Link retrieves user data from SAML attributes. Configure them in your application:
-
On the
mts-link-samlapplication page, switch to the Attributes tab. -
Edit the attributes as follows:
Attribute
Value
NameID(required)SubjectClaims.preferred_usernamefullnameSubjectClaims.nameemailAddressSubjectClaims.emailfirstNameSubjectClaims.given_namesecondNameSubjectClaims.family_nameTo edit an existing attribute, click the attribute row, specify the name and value from the table, and click Update. Do not change the name of the required
NameIDattribute.To add a missing attribute, click Add attribute, fill out the Attribute name and Value fields, and click Add.
Attribute names are case-sensitive. If the application already has the emailaddress attribute, rename it to emailAddress. Note that secondName must indicate the user's last name, not their middle name.
Add users to the application
To allow users to log in to MTS Link, you must explicitly add them or their respective groups to the SAML application.
Note
Users and groups added to a SAML application can be managed by a user with the organization-manager.samlApplications.userAdmin role or higher.
- On the
mts-link-samlapplication page, navigate to the Users and groups tab. - Click
Add users. - Select the users or groups. Add a test user for the testing step.
- Click Add.
Verify your domain and enable SSO in MTS Link
-
Go back to the SSO settings section in MTS Link. On the page with the IdP settings, click Next.
-
In the Specify email domain section, enter your corporate user email domain and click Add.
-
Verify the domain by following the MTS Link instructions. Make sure the domain status has changed to Verified.
-
Enable the Use SSO for account login option.
When an employee logs in via SSO for the very first time, MTS Link will automatically create their profile, add them to your organization, and assign them to your company's active service plan
-
Optionally, enable additional restrictions:
- Register users with verified domains of my organization only via SSO: Ensures that users with these domains can only register via single sign-on.
- Use SSO to restrict access to courses and webinars for all organization accounts: Enforces SSO access to all your organization’s courses and webinars.
Tip
Enable these optional restrictions only after testing the SSO with your test user so that configuration errors do not disrupt your team’s work.
Test single sign-on
- In your browser, go to the MTS Link login page at
https://my.mts-link.ru/or to your organization's subdomain page. If already logged in to MTS Link, sign out of your account. - Enter the email address of the test user account with the verified domain.
- Check that MTS Link redirects you to the Yandex Identity Hub authentication page.
- Log in using the test user account you added to the SAML app.
- Confirm that after authentication, you are redirected back to MTS Link and have access to an account within your organization. Check that the first name, last name, and email address are correct.
If SSO fails, double-check that:
- Your email domain is verified in MTS Link, and SSO is enabled.
- The user or the user’s group is added to the SAML app.
- Service provider and IdP settings were copied correctly, and the certificate matches the application.
- The Assertions and Response mode is used.
- All attribute names and values match the table values, and the user's profile specifies an email address.
Useful links
- SAML apps
- Updating a SAML app in Yandex Identity Hub
- Azure AD SSO setup guide on the MTS Link website
An organization is the highest resource in the Yandex Cloud resource model hierarchy that consolidates the resources of all other services. It is also used for user management as well as authentication and authorization management. For more information, see Organization.