Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Identity Hub
    • All tutorials
    • Differentiation of access permissions for user groups
    • Service account with an OS Login profile for VM management via Ansible
      • Overview
      • 1C:Enterprise
      • Grafana OSS
      • Harbor
      • Managed Service for GitLab
      • Managed Service for OpenSearch
      • MWS
      • NetBird
      • OpenSearch
      • Selectel
      • Sentry
      • SonarQube
        • SAML
        • OpenID Connect
      • VK Cloud
      • Zabbix
      • Passwork
      • Yandex 360
      • Yandex Browser for organizations
      • Using OAuth2 Proxy for applications not supporting SSO
  • Access management
  • Pricing policy
  • Terraform reference
  • Audit Trails events
  • Release notes
  • Yandex Identity Hub Sync Agent release notes

In this article:

  • Generate a key and certificate
  • Create an app
  • Set up the integration
  • Configure endpoints and upload the service provider certificate
  • Configure user attributes
  • Set up SAML authentication in Time
  • Add users
  • Make sure your application works correctly
  1. Tutorials
  2. Setting up single sign-on (SSO) for apps
  3. Time
  4. SAML

Creating a SAML app in Yandex Identity Hub for integration with Time

Written by
Yandex Cloud
Updated at September 1, 2026
View in Markdown
  • Generate a key and certificate
  • Create an app
  • Set up the integration
    • Configure endpoints and upload the service provider certificate
    • Configure user attributes
    • Set up SAML authentication in Time
  • Add users
  • Make sure your application works correctly

Time is a corporate messenger with single sign-on support based on the SAML standard.

For your organization's users to be able to authenticate to Time via SAML SSO, create a SAML app in Yandex Identity Hub and configure it both in Yandex Identity Hub and Time.

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

To provide your organization's with access to Time:

  1. Generate a key and certificate.
  2. Create an app.
  3. Set up the integration.
  4. Add users.
  5. Make sure the application works correctly.

Generate a key and certificateGenerate a key and certificate

To encrypt and sign SAML responses, Time requires the service provider's (SP) certificate and private key. Generate it using openssl:

openssl req -x509 -newkey rsa:2048 \
  -keyout private.key \
  -out certificate.crt \
  -days 365 -nodes \
  -subj "/CN=<instance_name>.time‑messenger.ru"

Where <instance_name> is the name of the Time instance (subdomain on time‑messenger.ru).

This will create two files: private.key and certificate.crt. Save them, as you will need them when setting up SAML in Time.

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 SAML (Security Assertion Markup Language) single sign-on method.
    2. In the Name field, specify a name for your new app: time‑saml‑app.
    3. Optionally, add a description and labels for the app.
    4. Click Create application.
  4. On the Overview tab, under Application certificate, click Download certificate and save the time‑saml‑app.cer certificate you created, as you will need it when setting up SAML in Time.

Set up the integrationSet up the integration

To configure Time integration with the SAML app you created in Yandex Identity Hub, complete the configuration both on the Yandex Identity Hub side and in Time.

Configure endpoints and upload the service provider certificateConfigure endpoints and upload the service provider certificate

Provide your Time instance details. To find the endpoint values, go to the Time system console at https://<instance_name>.loop.ru/admin_console/authentication/saml and copy the values ​​of the Entity ID and ACS URL fields from the SAML settings.

Cloud Center UI
  1. Log in to Yandex Identity Hub.
  2. In the left-hand panel, click Apps and select time‑saml‑app.
  3. At the top right, click Edit and in the window that opens:
    1. Under Service provider (SP) configuration:
      1. In the **SP EntityID ** field, enter Entity ID, the unique service provider ID.

      2. In the ACS URL field, enter ACS URL, the address to which the service provider will send requests for user authentication.

      3. Optionally, add more ACS URL by pressing Add URL if needed.

      4. Optionally, in the SP Logout URL field, add the address to which the IdP will send the SAML response after the user successfully logs out.

      5. In the Signature mode field, select which parts of the SAML response will be signed:

        • Assertions: Only statements about the user (ID, attributes, authentication time) are signed.
        • Response: The entire SAML response is signed.
        • Assertions and Response: Both the statements and the entire response are signed.
    2. Optionally, to only accept requests signed by one of the added certificates, enable Only accept signed requests and add the certificate using Add certificate.
    3. To ensure that the SAML response is encrypted using the selected certificate, enable Encrypt assertion in response and add the previously created certificate using Add certificate.
    4. From the Data encryption algorithm list, select RSA-OAEP-SHA256 (recommended).
    5. From the Key encryption algorithm list, select RSA-OAEP-SHA1.
    6. Click Save.

Configure user attributesConfigure user attributes

Cloud Center UI
  1. Log in to Yandex Identity Hub.

  2. In the left-hand panel, click Apps and select time‑saml‑app.

  3. Navigate to the Attributes tab.

  4. Add an attribute to provide the username. At the top right, click Add attribute and in the window that opens:

    • In the Attribute name field, enter username.
    • In the Value field, select SubjectClaims.preferred_username.

    Note

    Use transformations to change the attribute value before sending it to the application, e.g., to convert text to lower case, remove spaces, or extract part of the row. Transformations apply one by one, from top to bottom.

    • Click Add transformation and select the ExtractBefore transformation type; in the Substring field, enter @. This transformation will extract the part of the email address up to the @ char. This value will be used as the username in Time.
    • Click Add.

Set up SAML authentication in TimeSet up SAML authentication in Time

  1. Log in to the Time system console at https://<instance_name>.time‑messenger.ru/admin_console/authentication/saml.
  2. Under Authentication:
    1. Enable the Enable SAML 2.0 login option.

    2. In the Identity provider metadata URL field, enter the address to which Time sends its request for metadata.

      How to find the address of an application's metadata file
      1. Log in to Yandex Identity Hub.
      2. In the left-hand panel, navigate to Apps and select time‑saml‑app.
      3. Under Identity provider (IdP) configuration, copy the Metadata URL field value.
    3. In the SAML SSO URL field, enter the address to which Time sends the SAML request to start the login sequence.

      How to find the address for authentication requests
      1. Log in to Yandex Identity Hub.
      2. In the left-hand panel, navigate to Apps and select time‑saml‑app.
      3. Under Identity provider (IdP) configuration, copy the Login URL field value.
    4. In the Identity provider issuer URL field, enter the address used for SAML requests.

      How to find the publisher address of an account provider
      1. Log in to Yandex Identity Hub.
      2. In the left-hand panel, navigate to Apps and select time‑saml‑app.
      3. Under Identity provider (IdP) configuration, copy the Issuer / IdP EntityID field value.
    5. Under Certification authority public certificate, upload the time‑saml‑app.cer certificate file.

    6. Enable the Signature verification option.

    7. In the Login address via service provider field, enter an address in the following format: https://<instance_name>.time‑messenger.ru/login/sso/saml. Duplicate this address in the Service provider ID field.

    8. Enable the Enable encryption option.

    9. Under Service provider private key, upload the private.key file.

    10. Under Service provider public certificate, upload the certificate.crt file.

    11. In the Signature algorithm list, select the RSAwithSHA512 algorithm to sign the request.

    12. In the Canonicalization algorithm list, select Exclusive XML Canonicalization 1.0 (skip comments).

    13. In the Email attribute field, enter emailaddress.

    14. In the Username attribute field, enter username.

    15. Optionally, in the Name attribute field, specify givenname, the attribute to populate the username in Time.

    16. Optionally, in the Last name attribute field, specify surname, the attribute to populate the user last name in Time.

    17. Optionally, in the Login button text field, enter the text that will appear on the login button on the login page. The default is Using SAML.

  3. Click Save.

Add usersAdd users

To authenticate with Time, add the required users and/or user groups to your Yandex Identity Hub 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.

To add users to a SAML application:

Cloud Center UI
  1. Log in to Yandex Identity Hub.
  2. In the left-hand panel, select Apps and select the required app.
  3. Navigate to the Users and groups tab.
  4. Click Add users.
  5. In the window that opens, select the required users.
  6. Click Add.

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.

Make sure your application works correctlyMake sure your application works correctly

To ensure your SAML application and integration with Time are working correctly, log in to Time using one of the added users. Proceed as follows:

  1. In your browser, open the login page of your Time instance: https://<instance_name>.time‑messenger.ru.
  2. Select Using SAML to sign in.
  3. Authenticate in Yandex Cloud under a user account from your organization.
  4. Make sure you have signed in to Time following a successful authentication.

Was the article helpful?

Previous
SonarQube
Next
OpenID Connect
© 2026 Direct Cursus Technology L.L.C.