Single Sign On

Single sign-on (SSO) is a way to log in only once and access different applications using the same login details. It is convenient, efficient and secure. You just need to change the password once and not have to worry about updating it across other applications. 

SSO-enabled Launcher

supports SSO using an OpenID Connect (OIDC) compliant Identity Provider. Microsoft Active Directory can be configured to act as such an Identity Provider. 

The system can act as a Relaying Party in the OIDC 1.0 flow. Refer for more details:

The conceptual diagram below describe the details of the OIDC SSO authentication flow toward Active Directory.

OIDC SSO Authentication Diagram


To turn on SSO a number of properties need to be added to the platform and will take effect after a platform restart.

The following properties are mandatory.


Default value ""

Client ID provided by Identity Provider. If it is not present, the SSO functionality is disabled.


Default value ""

Provide the Base URL to the associated Identity Provider. Read access is required for the /.well-known/openid-configuration file to acquire the relevant Provider Configurations.

Default value ""

The name of the provider needs to be Azure if it is used and groups are returned as uids.


Default value "roles"

Path in ID Token or UserInfo object to find an array of users Access groups as defined by the Access Controller, separated with a dot (.).
The groups should be an array of Strings.
Here the groups array is inside and object.
{ myObject : { myGroups : [ "myGroup1", "mygroup2" ] } }
The path should then be:
groupPath: myObject.myGroups
When the group's array is direct under UserInfo then groupPath is just the name of the group's array.



Available authentication methods are CLIENT_SECRET_BASIC and PRIVATE_KEY_JWT

The following properties are mandatory when CLIENT_SECRET_BASIC is used as an authentication method:


Default value ""

This property sets the relevant Client Secret. Needs to be encrypted.

You need to add the following values to the OIDC provider as redirect URLs:

The following properties are mandatory when PRIVATE_KEY_JWT is used as an authentication method:


Default value ""

Path to JKS keystore when PRIVATE_KEY_JWT is used


Default value ""

Alias for key in keystore when PRIVATE_KEY_JWT is used


Default value ""

Keystore password when PRIVATE_KEY_JWT is used, needs to be Encrypted by .


Default value ""

Key password when PRIVATE_KEY_JWT is used, needs to be Encrypted by .

The following properties are optional:


Default value ""

Optional additional scopes. Default scopes are openid, profile, and email.

Default value ""

Claim to use as the user name, if not specify sub will be used. This value should be unique. 


Default value ""

Optional Key ID for JWT header when PRIVATE_KEY_JWT is used

Use the following command to add the properties:

Topo Example
mzsh topo open platform

Azure as Identity Provider

When Azure is used as an ID provider be sure to set the property to Azure to be able to fetch the groups. The reason for this is that Azure is sending a list of group ids, but the system needs the Access group name. When ID Provider is Azure it uses the group id to fetch the group name from the Azure Graph API endpoint, currently using v1.

Private Key Authentication

When the method: "PRIVATE_KEY_JWT" is used, you need to create a Java Keystore in JKS format using an EC or RSA algorithm. The signing algorithm of the JWT used to authenticate to the Token Endpoint will be RS256 for RSA keys and ES256 for EC keys.

The script below shows how these can be generated. Note that this will generate a self-signed certificate, which is not suitable for use in publicly exposed interfaces. Make sure to set the parameters at the beginning of the script before execution. This script produces the ssokeystore.jks. It also produces the file publicCert.pem, this file should be uploaded to the ID provider in advance.

Example - How to generate a self-signed certificate
rm -f ssokeystore.jks publicCert.pem
keytool -genkey -keystore ssokeystore.jks -storepass $STORE_PASSWORD -keypass $KEY_PASSWORD -alias certificate -keyalg RSA -keysize 2048 -dname $DNAME 
keytool -keystore ssokeystore.jks -exportcert -alias certificate -rfc -file publicCert.pem -deststorepass $STORE_PASSWORD