Using Okta as your Identity Provider (IdP)
  • 11 Sep 2024
  • 4 Minutes To Read
  • Dark
    Light
  • PDF

Using Okta as your Identity Provider (IdP)

  • Dark
    Light
  • PDF

Article summary

To set up federated authentication with Okta for Mambu, follow these steps: In Okta, create a new SAML 2.0 application for Mambu, configure IdP settings, map SAML attributes, and set up Okta role mapping. In Mambu, enable federated authentication, enter IdP details, and test the SSO connection. Add and assign users and roles in Mambu and Okta, ensuring group names match Mambu roles. Create group-based role mappings in Okta to send correct roles to SAML configuration. Assign branch IDs to users in Okta by creating a custom attribute named "BranchID." Set the attribute length, user permission, and source priority. Group-level assignment of branch IDs is possible for specific applications. For detailed instructions, refer to the provided links.

Setting up federated authentication with Okta

If you are using Okta, you can find Mambu as an approved app within Okta. For easy setup, please go to the Okta integration network and search for Mambu.

To manually setup federated authentication with Okta, please follow the step-by-step guide below.

Setup in Okta

  1. Sign in to Okta with an admin account and navigate to Applications > Add Application > Create App Integration.
  2. Create a new SAML 2.0 application.

create saml 2 app

  1. Go to General Settings and enter an App name for the Okta SAML 2.0 application.

create saml integration

  1. In the Configure SAML tab select Show Advanced Settings.
    When configuring the IdP please be sure to correctly configure Mambu Service Provider (SP) URL’s:

For Login: https://TENANT_NAME.mambu.com/saml/login or https://TENANT_NAME.env.mambu.com/saml/login
For Logout: https://TENANT_NAME.mambu.com/saml/logout or https://TENANT_NAME.env.mambu.com/saml/logout

6 SAML settings

  1. Map SAML Attributes ( used for displaying the first and last name of the user and the username)

Map SAML attributes

  1. Enter the Group Attribute Statements for Mambu-Okta Role Mapping

group attribute statements

  1. In the Feedback tab, select the This is an internal app that we have created option and then select Finish.

Feedback tab

  1. You will be redirected to the Sign On tab where SAML configuration settings can be accessed any time, by selecting View SAML Setup Instructions.

SAML configuration

Please Note

Make sure you have at least one user created and migrated into your IdP and that that user is assigned to the SAML app.

Setup in Mambu

  1. In Mambu, on the main menu, go to Administration > Access > Federated Authentication and select the Enable Sign Sign-On check box with the Manual Settings option selected as well. Enter the Name you would like to use for your IdP.
  2. Enter the Single Sign-On Endpoint, use the Identity Provider Single Sign-On URL: from the IdP page "View Setup Instructions"
  3. Enter the Certificate Fingerprint with the value of the following command:
openssl x509 -noout -fingerprint -sha256 -inform pem -in {/path/to/certificate-file.crt}

Remember to use the correct certificate name / path!

  1. For the Issuer ID, type the Identity Provider Issuer from OKTA IdP
  2. The ACS URL is optional. If filled, it is mapped with the value from the field Destination URL from the IdP page, "View Setup Instructions".

7 FA in mambu

  1. Select "Test SSO Connection" and enter the username and password of your OKTA account. The connection should be succesful and the next step is to select Save Changes. If you have any issues during the setup, please open a new topic on Mambu Community or contact our support team.

Test connection Okta

Add and assign users and respective roles

  1. Sign in as an admin and go to Directory > People, and select Add Person.

Add user

  1. Add values for the required fields: First name, Last name, Username, and Primary email.
  2. If the user already exists in Mambu, then the username and email fields should have the same value that exists in Mambu for that user. Please take into consideration that the username and email should be unique.
  3. In order to assign the Mambu SAML App to a user, from the user profile select the Assign Applications tab. Then select an application and select Assign.
    assign mambu saml app to user

Add and assign Mambu Roles through Okta

  1. Sign in as an admin, go to Directory > Groups, and select Add Group. Add a name and a description.
    2. Make sure the group name from Okta is an exact match with the role name in Mambu so that users will inherit the Mambu role immediately after Okta Group assignment.
  2. Select the group name and select Add Members. Search for the user that should be assigned to that role/group.
Please Note

Every time a user signs in, we look through the list of groups the user belongs to in Okta, and try to find any exact match with a Mambu role setup on your instance. Please make sure every user has only one Mambu role/group assigned to them.

Add user to group

Map group-based roles in Okta

By default, Okta sends a role name of "Everyone" to the SAML configuration. To prevent this, you will need to create a mapping in Okta of group-based roles, which will ensure that it sends the correct roles to the SAML configuration.

For assistance, refer to this page: Enable group-based role mapping in Okta.

Assign branch IDs through Okta

For each of your users, you must also define the branch they are assigned to in Okta. For more information, see Managing Users under Federated Authentication - Branch assignment.

The following are the main steps to perform branch assignment using Okta as your IdP:

  1. Use the following instructions to create a custom attribute in your profile named "BranchID": Add custom user attributes.

  2. Use the following attributes:

    1. Attribute length: Less than 100
    2. User permission: Read-Write
    3. Source priority: Inherit from profile source
  3. If you want to all the users for a specific application to be assigned the same branch ID, then you may set the value of the BranchID attribute at the group level. For more information, see Add custom attributes to a default Okta group profile.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence