Creating a SAML app in Yandex Identity Hub for integration with Yandex 360
Note
This feature is at the Preview stage.
Yandex 360
To authenticate your organization's users to Yandex 360 via SAML
SAML apps can be managed by users with the organization-manager.samlApplications.admin role or higher.
For the users of your organization to be able to access Yandex 360:
Create an app
- Log in to Yandex Identity Hub
. - In the left-hand panel, select
Apps. - In the top-right corner, click
Create application and in the window that opens:-
Select the SAML (Security Assertion Markup Language) single sign-on method.
-
In the Name field, specify a name for your new app:
yandex360. -
Optionally, in the Description field, enter a description for the new app.
-
Optionally, add labels:
- Click Add label.
- Enter a label in
key: valueformat. - Press Enter.
-
Click Create application.
-
Set up the integration
To configure Yandex 360 integration with the SAML app you created in Identity Hub, complete the configuration both on the Identity Hub side and in Yandex 360.
Set up the SAML application in Yandex Identity Hub
Set up service provider endpoints
- Log in to Yandex Identity Hub
. - In the left-hand panel, select
Apps and then, the SAML app. - At the top right, click
Edit and in the window that opens:- In the **SP EntityID ** field, specify
https://yandex.ru/. - In the ACS URL field, enter this address:
https://passport.yandex.ru/auth/sso/commit. - Click Save.
- In the **SP EntityID ** field, specify
Configure user attributes
Warning
For integration with Yandex 360, set the User.EmailAddress, User.Firstname, and User.Surname attributes.
Set user attributes for integration with Yandex 360:
-
Log in to Yandex Identity Hub
. -
In the left-hand panel, select
Apps and select the desired app. -
Navigate to the Attributes tab.
-
Edit user attributes:
-
Replace the
emailaddressattribute withUser.EmailAddress. Proceed as follows:- Click the row with the
emailaddressattribute. - In the Attribute name field, enter
User.EmailAddress. - In the Value field, leave
SubjectClaims.email. - Click Save.
- Click the row with the
-
Replace the
givennameattribute withUser.Firstname. -
Replace the
surnameattribute withUser.Surname. -
You can delete the
fullnameattribute as you will no longer need it.
-
For more information about configuring attributes, see Configure user and group attributes.
Collect data for setting up Yandex 360
To set up SSO in Yandex 360, you need the following data from your SAML app:
-
Log in to Yandex Identity Hub
. -
In the left-hand panel, select
Apps and then, the SAML app. -
Under Identity provider (IdP) configuration on the Overview tab, copy the following data:
- Issuer / IdP EntityID: IdP entity ID.
- Login URL: Entry point URL address (Login URL).
-
Under Application certificate, click Download certificate and save the token signing certificate in X.509 format to your device.
You will need this data to set up SSO in Yandex 360.
Set up SAML authentication in Yandex 360
Note
To set up SAML authentication in Yandex 360, the user needs the organization administrator permissions.
To set up SAML authentication in Yandex 360:
- Go to the Yandex 360 for Business console
. - Navigate to the SSO settings section.
- Provide the data you got in the previous step:
- IdP Entity ID: IdP issuer.
- Login URL: Entry point URL.
- Upload the token signing certificate in X.509 format.
- Save the settings.
Warning
Make sure the domain from the User.EmailAddress attribute in the SAML response matches the main domain or one of the alias domains of your Yandex 360 organization.
Add users
For your organization's users to be able to authenticate in Yandex 360 with Identity Hub's SAML app, you need to explicitly add these users and/or user groups to your 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.
Add users to the application:
- Log in to Yandex Identity Hub
. - In the left-hand panel, select
Apps and select the required app. - Navigate to the Users and groups tab.
- Click
Add users. - In the window that opens, select the required user or user group.
- Click Add.
Make sure your application works correctly
To make sure both your SAML app and Yandex 360 integration work correctly, authenticate to Yandex 360 as one of the users you added to the app. Proceed as follows:
- In your browser, go to the Yandex 360 login page.
- If you were logged in to Yandex 360, log out.
- On the authentication page, select Single Sign-On (SSO).
- On the Yandex Cloud authentication page, enter your email address and user password. The user or group they belong to must be added to the application.
- Make sure you are logged in to Yandex 360.
Troubleshooting setup issues
If you have specified incorrect values when setting up the IdP, you will get the Failed to log in message and the following error code on an attempt to log in via SSO.
email.not_in_response
Specify attribute names in User.Firstname, User.Surname, User.EmailAddress format. If you specify another format, e.g., Firstname, you will not be able to log in.
request_your_admin
This error occurs if the administrator of your organization’s user folder has restricted access to Yandex 360 for your account. For more details, contact your organization’s support team.
samlresponse.invalid
This error occurs if either the entry point URL, IdP issuer, or token signing certificate was specified incorrectly. You may also get this error within 14 days prior to the expiration of the token signing certificate or after it expires. Validate your SSO settings in Yandex 360.
unsupportable_domain
Make sure the domain from the User.EmailAddress email attribute in the SAML