MCS from version 1.3.0
Table of Contents
Create SAML Configuration Application in Okta
Sign In to Okta
To configure SAML in Okta, you need to sign in:
Go to the Okta website.
Create an account if you don’t have one. Follow Okta’s instructions on their website.
Log in to your Okta account. Follow Okta’s instructions for signing in.
Steps to Create the SAML Configuration Application in Okta
Navigate to Applications → Applications in the left sidebar.
Click the Create App Integration button.
Select SAML 2.0 and click Next.
Provide an App Name and click Next.
Configure the SAML settings in the Configure SAML tab:
Single Sign-On URL: Enter the MCS Login URL Route prefixed with
https://{MCS IP}/
.
Example:https://{MCS IP}/api/5.0/auth/saml/login/callback
Audience URI (SP Entity ID): Enter a unique ID. (This must match the Entity ID in MCS).
Name ID Format: Select Persistent.
Fill in the Feedback tab:
In the App Type field, enable This is an internal app that we have created.
Click Finish.
Create Groups and Users in the SAML Configuration Application
Steps to Create Groups in Okta
Navigate to Directory → Groups in the left sidebar.
Click Add Group.
Provide a Name and an optional Description for the group.
Refresh the page to view the new group.
Repeat for additional groups if needed.
Note:
One group in Okta corresponds to one role in MCS.
Assign Group Attribute Statements in the SAML Configuration Application
Navigate to Applications → Applications.
Find the SAML Configuration Application you previously created in Okta.
Click the name of your SAML Configuration Application.
Navigate to the General tab in the SAML Configuration Application.
Scroll to the SAML Settings section and click Edit.
In the Edit SAML Integration, in the General Settings tab:
Click on the Next button to get to the Configure SAML tab.
Scroll down in the SAML Settings to the Group Attribute Statements (optional).
Enter group in the Name field. (This must be spelled exactly as "group").
Leave Name Format as Unspecified.
Choose a filter (e.g., Equals or Starts With) and provide the appropriate value based on your group's name.
Example:
If using the Equals filter, type the exact group name.
If using the Starts With filter, type the group name prefix.
Note:
You cannot click Add Another to assign multiple groups because, in version 1.3.0, MCS expects only one group attribute statement with the name group, and Okta allows only a single group attribute statement with that name.
If you want to use the Equals filter, you can only configure one group with the group attribute statement named group. To associate multiple groups with MCS for different roles, you must use other filters, such as Starts with, and ensure all your groups have names that share a common prefix.
For example, the following is an invalid configuration:
Click Next and finish the configuration.
Important Notes
If a user logs in via SAML, the group name in the Identity Provider must match the role name in MCS.
Users must belong to a group in Okta to log in to MCS, with the group's name being assigned as their role in MCS.
A user cannot belong to more than one group. If a user is assigned to multiple groups, their role cannot be resolved, and they won’t be able to log in.
Assign Users to Groups in Okta
Navigate to Directory → Groups.
Click on a group’s name to open its configuration.
Click Assign People to assign users to the group.
Search for the desired user in the table or use the search bar.
Click on the + (Add) button next to the user’s name.
Assign Groups to the SAML Configuration Application
Navigate to Applications → Applications.
Find the SAML Configuration Application you previously created in Okta.
Click the name of your SAML Configuration Application.
Navigate to the Assignments tab in the SAML Configuration Application.
Click Assign → Assign to Groups.
Assign the relevant groups to the SAML Configuration Application.
Click on Done to save the changes.
Create SAML Configuration in MCS for Okta
Steps to Configure SAML in MCS
Navigate to Applications → Applications.
Find the SAML Configuration Application you previously created in Okta.
Click the name of your SAML Configuration Application.
Go to the Sign On tab at the top of the page.
Click the View SAML Setup Instructions button on the right side of the page, located under SAML Setup.
Copy the Identity Provider Single Sign-On URL field for later use.
Copy the X.509 Certificate field for later use. (Use the value between BEGIN CERTIFICATE and END CERTIFICATE).
Click on the menu icon.
A display of all the available widgets will open.
Navigate to Management → Identity Providers.
Fill in the required fields:
Entity ID / Issuer: Use the Audience URI (SP Entity ID) field you configured when setting up the SAML Configuration Application in Okta.
Entrypoint / IDP URL: Paste the Identity Provider Single Sign-On URL field you copied in step 7.
Certificate: Paste the X.509 Certificate field you copied in step 8.
Click Save to complete the configuration.
You and your users can now log in to MCS using Okta via SAML, in addition to the basic login method.