Translations:SSO (версия для системного администратора)/7/en

Материал из SmartPlayer

3. Configure the server application's configuration file. Select the configuration with the SAML protocol::

Sample commands for configuring SSO over SAML
Текст подписи
Parameter name Valid values

Description

SSO_SAML_ENABLED 0 - integration is disabled. 1 - integration enabled Disabled by default. To enable use value 1
SSO_SAML_ENTITY_ID Any string value Used to define a SAML client on the side of the authentication service. This value must be agreed in advance.
SSO_SAML_Login_URL Authentication Service URL Issued by the authentication service
SSO_SAML_CERTIFICATE_PATH Path to the public certificate from the authentication service The certificate is issued by the authentication service
SSO_SAML_COMPANY_ID The number indicated in the company profile The certificate is issued by the authentication service
LOCAL_SSL_KEY_PATH

Path to the private key of the certificate || The certificate is issued by the authentication service

LOCAL_SSL-CERT_PATH

Path to the public key of the certificate || The certificate is issued by the authentication service

Operations using the SAML protocol are conducted exclusively over https, so it's also essential to check for the existence of SSL certificates and the variables: LOCAL_SSL_KEY_PATH и LOCAL_SSL_CERT_PATH.
Example of configured SSO

4. Save changes to the configuration file.
5. Restart all Docker containers completely, due to the changes made in the .env file.

  • Navigate to the folder containing the *.yml file. The default path is:

“/home/smartplayer/smartplayer/“

  • Stop the Docker containers using: docker-compose down
  • Start the Docker containers using: docker-compose up -d

6. Wait for 2 to 5 minutes for the platform to start, and then you can log into your personal account. Access is made via the personal account URL.