SAML Integration

Introduction

In Userful Infinity, SAML integration can be done through Okta, which is an Identity and access management application. You need to configure SAML settings in the Okta application before you enable the integration.

Configure SAML Settings in Okta

To configure SAML in Okta, you need to specify SAML settings and create a token.

  1. Log in to your Okta admin account.

  2. Navigate to Applications in the left pane.

  3. Click Applications from the drop-down.

  4. Click Create App Integration. A window appears.

  5. Select the SAML 2.0 as the sign-in method and click Next.

  6. Under General Settings, enter the name of your app, upload the logo and click Next.

  7. Under Configure SAML enter the SAML settings details as mentioned below:

  • Single sign-on URL In the URL format below, add the correct value of server_url_with_port (Example: testnet34:9098) and SAML_Integration_Name.

  • Note that the same integration name will be used for configuration in the Userful Infinity platform as well.

http://server_url_with_port/auth/realms/userful/broker/SAML_Integration_Name/endpoint (Example URL: http://testnet34:9098/auth/realms/userful/broker/samlTest/endpoint )

Note: The checkbox saying “Use this for Recipient URL and Destination URL” should be enabled.

  • Audience URI (SP Entity ID)

This is the Service Provider ID. In our case it’s Keycloak and for which, we will add the entity ID.

In the URL below, add the correct value of server_url_with_port (Example: testnet34:9098)

http://server_url_with_port/auth/realms/userful (Example URL: http://testnet34:9098/auth/realms/userful)

  • Default RelayState: You can leave this blank.

  • Name ID format: Select EmailAddress.

  • Application username: Select Email.

  • Update application username on: Select Create and Update.

  • Attributes Statements: Although this is stated as optional, it is mandatory for integration with Userful Infinity. Create the three attributes below.

NameName formatValue

email

Unspecified

user.email

firstName

Unspecified

user.firstName

lastName

Unspecified

user.lastName

  • Group Attribute Statements: This is not required.

  1. Click Preview the SAML Assertion.

  2. Click Next.

  3. In the Feedback section, select I'm an Okta customer adding an internal app.

  4. Click Finish.

  5. Click the Assignments tab.

  6. Click the Assign dropdown. You will see two options– Assign to People and Assign to Groups. These options are to grant the access for SSO login after the configuration is complete in both Okta and Userful Infinity. Select the option you want. A window appears.

  7. Click Assign.

  8. Click Done. The Assignments tab should now display your selection.

Create token

  1. In your Okta account, click Security in the left pane.

  2. Select API.

  3. Click the Tokens tab.

  4. Click Create Token. A window appears.

  5. Add a name for your token and click Create token. A message appears with the token value.

  6. Copy the token value and keep it safe and secure. You can view your token only at this time.

  7. Click Ok, got it or close the small window.

Configure Userful Infinity

  1. In your Userful Infinity account, navigate to Admin Center > User Management.

  2. Click External authentication in the left pane and select SAML integration.

  3. Fill in the details as below:

    a. Alias: Enter the SAML_Integration_Name you used while setting up single sign-on url in Okta. The alias name needs to be unique and should not be used for other SAML integrations.

    b. Display Name: Add a Display Name. This will be shown in the login page after setup is complete. For example, “SSO Login with Okta”.

    c. For the next three fields, Single Logout URL, IDP Entity ID, and Single Sign-on URL you’ll need to navigate to the app you created in Okta.

    1. In Okta, navigate to Applications > Applications from the left pane.

    2. Click on the App Integration you created.

    3. Click the Sign On tab.

    4. Click More details. You will be able to view the logout URL, sign on URL and Issuer (IDP Entity ID).

    d. API Key: This is the token you created and copied from Okta. Paste the value here.

  4. Click Finish. Your SAML integration should now be complete.

Last updated

Copyright © 2024 Userful Corporation. All rights reserved.