Skip to main content

Configure MTA to use SAML SSO

Definition

This document describes how to configure MTA to use SAML SSO to authenticate users logging into MTA, instead of using Local Accounts.

This document does not describe how to test an application using SSO authentication. Please read this howto for that.

Enable SAML SSO

The SAML20 module, and the necessary dependency modules, have been imported into MTA.

If you have a on-premises license, please follow the run mta on premises howto for SAML SSO first.

If Menditect is hosting MTA for you, please contact support to have it enabled.

Configure SAML SSO

The basic configuration for SAML SSO is the same for all Identity Providers and described in the Mendix documentation. The current location of the relevant documenation page is here: https://docs.mendix.com/appstore/modules/saml/

This configuration has to be done when logged in with the MTA Manager role in MTA.

Use this settings:

IdP configuration
Alias[Name your configuration]
Response protocol bindingPOST_BINDING
Use AssertionConsumerService ConceptNo
Assertion consumer service index0
Read IDP metadata from URLNo
Preferred entity descriptor[Will be filled automatically, after uploading the .xml file]
Authentication context[Use default configuration]
Identifying assertion typeUse Name ID
Entity where the user is to be foundAdministration.Account
Attribute where the user principal is storedFullName
Allow the module to create usersYes
Use Custom logic for user provisioningYes
Custom microflowSSOConfigModule.CustomUserProvisioning
Encryption settings[Choose your preference, uploading a keypair is not required to enable this setting.]

User provisioning

MTA uses user provisioning logic like any other Mendix App implementing SAML. It is not possible to change this logic.

The SAML20 module will create an Account if a user can be authenticated by the IdP. However, by default, the Account will have no User Roles.

caution

Currently, it is not possible to assign user roles from MTA (after the user has signed in) when implementing SAML. If user roles are assigned in MTA they will be reset from the IdP. The only way to assign user roles is using below logic.

In order to have MTA assign the desired roles to created Accounts, you must configure your IdP to use assertion attributes, as follows.

- There must be at least one assertion attribute with the name "MTA_UserRole"
- if the value is 'Tester', then the 'Tester' role will be assigned;
- if the value is 'MTAManager', then the 'MTAManager' role will be assigned;
- if the value is 'CiCdApiUser', then the 'CiCdApiUser' role will be assigned;

More about User Roles can be found in the Manage Accounts howto.

Feedback?

Missing anything? Let us know!

Last updated 31 January 2024