SAML SSO
Last updated
Last updated
The SAML SSO (Security Assertion Markup Language Single Sign-On) app allows users to log into Eliona using various SAML 2.0 SSO providers, including Microsoft ADFS. This setup streamlines authentication by using a single set of credentials.
Note: This section is relevant only if you previously used the ADFS app and are upgrading to Eliona v13.2 or later. If you're installing Eliona for the first time, you can skip this section.
Before Eliona v13.2, the "ADFS" app was used to provide Single Sign-On (SSO) for Azure. Starting with v13.2, Eliona introduces support for a broader range of Identity Providers, fully implementing the SAML SSO protocol. As a result, the "ADFS" app has been replaced by the new "SAML SSO" app.
Important: ADFS login will stop working after upgrading to Eliona v13.2. To restore SSO functionality, follow these steps:
Install the SAML SSO app.
Verify the configuration of the SAML SSO app. It should automatically detect and apply the previous ADFS configuration. (The configurations of both apps should appear similar.)
In your Azure configuration, update the Reply URL to:
https://{your-eliona-domain.com}/apps-public/saml-sso/saml/acs
Ensure that the Entity ID in your Azure configuration matches the one specified in the SAML SSO app.
Once these steps are complete, test the login process to confirm that SSO is working as expected. After successful verification, you can safely remove the ADFS app.
The SAML 2.0 Service Provider is configured by defining one or more authentication credentials:
id
Configuration Id. Can only be 1
enable
If the configuration is enabled or not
serviceProviderCertificate
The Certificate of this SAML Service Provider (SP). Can be a self-signed x509 certificate.
serviceProviderPrivateKey
The Private Key matching the Certificate of this SAML Service Provider (SP). DO NOT use RSA key length lower than 2048
idpMetadataUrl
The Metadata URL of the Identity Provider (IdP) if available. Otherwise use the metadataXml to provide Metadata of IdP directly and leave this null
idpMetadataXml
Provide the IdP Metadata XML directly, if you do not have the idpMetadataUrl accessible
ownUrl
The own URL of this Eliona instance
userToArchive
If enabled, the newly created user is archived and cannot log in until an admin has activated it
allowInitializationByIdp
Allow IdP-initiated assertions
signedRequest
If the SP should make a signed SAML Authn-Request or not
forceAuthn
Normally this value is set to false for an SP. If set to true the user has to re-authenticate (login at IdP) even if it has a valid session to the IdP
entityId
Service provider Entity ID. Unique identifier URI, typically based on tenant's domain. Normally, the default value can be left as it is.
loginFailedUrl
The URL to redirect to if the login failed. If this value is null the default page /noLogin will be shown
The configuration is done via a corresponding JSON structure. As an example, the following JSON structure can be used to define an endpoint for app permissions:
Configurations can be created using this structure in Eliona under Settings > Apps > System > SAML SSO App
. To do this, select the /configuration
endpoint with the POST method.
Refer to your SSO provider's documentation for configuration on provider's side.
The default attribute mapping (suited for Azure AD) can be altered using the /configuration/attribute-mapping
endpoint.
If you want to use email as an identifier (recommended), leave out the uuid field empty. If you want to use a different unique user ID (for example UPN), then fill out the uuid field with its SAML attribute name.
To pass access control list, the SAML SSO app allows assigning user roles during user creation.
Example for setting up project roles:
First, create project roles "Project user" and "Project guest" in Eliona Engineering module, then configure /configuration/permission-mapping
endpoint with following configuration:
To configure Azure Active Directory (Azure AD) specifically for SAML-based Single Sign-On (SSO), follow these steps:
Create an Enterprise Application in Azure AD
Navigate to Azure Active Directory > Enterprise applications. (Note that App registrations are for OAuth/OIDC workflow, while Enterprise applications are for SAML.)
Click New application, then choose "Create your own application".
Enter your application name and select "Integrate any other application you don't find in the gallery".
Click Create.
Configure Single Sign-On (SAML)
In your enterprise application, under Manage, select Single sign-on.
Choose SAML as the single sign-on method.
Set Up Basic SAML Configuration
Click Edit on the Basic SAML Configuration panel.
Identifier (Entity ID): Set this to a unique URI, typically based on your tenant's domain, or other verified domain. For example, yourtenant.onmicrosoft.com/your-app-id
. Does not have to correspond to the actual Eliona instance domain. Can be also set using manifest field "identifierUris"
.
Reply URL (Assertion Consumer Service URL): Enter the URL where Azure AD will send SAML responses, for example: https://customer.eliona.cloud/apps-public/saml-sso/saml/acs
.
Download Azure AD Metadata
Under the SAML Signing Certificate section, download the Federation Metadata XML file or copy the metadata URL provided:
Replace {tenant-id}
with your actual Azure AD tenant ID.
Assign Users and Groups
Under Users and groups, assign users or groups permitted to authenticate via SAML to Eliona.
Configure SAML SSO Settings in Eliona
MS Log-in: Activate the log-in button "via Microsoft" by setting the configuration as "Enabled".
Metadata URL: Enter the metadata URL copied from Azure AD (see step 4).
Own URL: Enter your Eliona instance URL (e.g., https://customer.eliona.cloud
).
Entity ID: Set the entity ID from step 3.
Certificate: Optionally use a self-generated certificate for securing communications.
Go to the .
For more detailed guidance, refer to the official .