Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updates throughout the article for Smart ID 22.10.

This article describes how to set properties for Smart ID Self-Service.

Info
title<SMARTIDHOME>

In this article, <SMARTIDHOME> refers to /home/nexus, but this can be different depending on the setup.

  1. Open this file for editing: <SMARTIDHOME>/docker/compose/selfservice/docker-compose.yml.
  2. Modify the environment variables (See table below for supported variables).
    The prime.baseUrl in APPLICATION_YAML by default uses the variables SMARTID_INGRESS_DOMAIN and IDM_OPERATOR_DOMAIN_PREFIX which you can set in <SMARTIDHOME>/docker/compose/smartid.env.
  3. Restart the Self-Service container.

This article is valid includes updates for Smart ID 22.04.2 and later10.

Related information


Environment variable

Default value if not set

Default value in SmartID package

APPLICATION_YAML{}


Code Block
{
    "prime": {
        "baseUrl": "https://${IDM_OPERATOR_DOMAIN_PREFIX}.${SMARTID_INGRESS_DOMAIN}",
        "tenantId": 1,
        "instanceId": "selfservice_default_instance"
    }
}


CONFIG_JSON{}


Code Block
languagejs
{
    "languages": {
        "supportedLanguages": [ "en" ],
        "defaultLanguage": "en"
    },
    "theme": "default",
    "application": {
        "applicationPt1": "Smart ID",
        "applicationPt2": "Self-Service"
    },

    "userPassword": {
        "enabled": true
    },

    "saml": {
        "enabled": true,
        "enforced": false
    },

    "clientCert": {
        "enabled": true,
        "httpsPort": "8444"
    },

    "imagecropper": {
        "selectorVisible": false,
        "ratio": "input" 
    }
}


Note

The httpsPort depends on the server configuration. This configuration is done in the server.xml file.


Note

The supported values for the ratio are "input" (default) or "free".




Note
titleAPPLICATION_YAML

prime.baseUrl in APPLICATION_YAML is mandatory, the container will not start if it is not set.

The default configuration for prime.baseUrl is to go through the ingress domain (public URL). See Configure URLs to other Smart ID components on how to configure this property correctly.