Integrations

Okta SAML Integration

14min

Overview

This document covers the setup of the SAML (Security Assertion Markup Language) federation between Nile (Okta) as a Service Provider (SP) and Okta as an Identity Provider (IdP).

Requirements

  • Administrator rights to the Nile Portal.
  • Administrator rights to Okta.
  • The same Nile Portal administrator needs to be an Okta user.

Okta App Integration Setup

Login to your Okta portal



Document image


Go to Applications > Applications page

In the Create a new app integration, select SAML 2.0:

Document image


Click the Create App Integration button

Scroll down the same page and add ‘Attribute Statements’ for the following as per the illustrated screenshot:

Document image


In the SAML Settings section, fill out dummy placeholders for the ‘Single sign on URL’ and ‘Audience URI’:

Document image


In the Create SAML Integration, enter an appropriate name for the application and click Next:

Document image

  • firstName
  • lastName
  • displayName
  • mail
  • mobile

Take note of the following Identity Provider URLs and then click on the Download certificate button to save the X.509 certificate:

Document image


Go to the Sign On tab on the same page and click The View SAML setup instruction button to display important parameters that will be used in the Nile Portal Provider configuration:

Document image


Go to the Assignments tab and assign users and groups to the application to complete the App Integration setup:

Document image


Click Next and select the following options to finish the setup:

Document image


Scroll down further on the same page and add “Group Attribute Statements’ for the following:

Document image




Go to the next section to collect the parameters needed by the Okta app, and complete Nile Portal configuration.

Document image


NOTE

Note: An Okta group named ‘NileAdmin’ assigned to the user and application has been previously created to be returned as a value to the ‘memberOf’ attribute.

Nile Portal Identity Provider Setup

Click on ADD A NEW PROVIDER and fill out the form as follows:

Document image


Login now to the Nile Portal with the same Okta administrator at https://www.nile-global.cloud, and navigate to Settings -> Global Settings -> Identity page:

On the same form, click on SELECT CERTIFICATE to upload the okta.cert certificate downloaded earlier

Document image

  • Name: OKTA SSO
  • IdP Issuer URI: IdP issuer from step 12
  • IdP SSO URL: IdP Single Sign-on URL from step 12
  • Destination URL: IdP Single Sign-on URL from step 12

Add two group rules to assign a Nile Portal group to the user by evaluating the ‘memberOf’ attribute value coming in the SAML assertion:

Document image


Click the ADD GROUP RULE button to display the ADD rule form:

Document image


Fill out the form as shown below to setup the group mapping attribute and click the SAVE button:

Document image


Click the ADD GROUP MAPPING button to configure the group mapping attribute:

Document image


Click the Group Rules tab to proceed with group mapping:

Document image


Click the SUBMIT button to complete adding the Okta provider:

In this example: You will need to copy and paste the below URLs in the next step

Location = “https://login.u1.nile-global.cloud/sso/saml2/0oa6ukka1wsFVvTQr5d7” entityID = ”https://www.okta.com/saml2/service-provider/spxwtsbbcwrugshwfckm”

Document image


Search the Metadata.xml file for the entityID and Location string values:

Document image


Go to the Providers tab and click the down arrow button present on the right side of the created identity provider bar, and click on the METADATA download button at the bottom to download the metadata file. Use the information to complete the Okta App creation:

Document image


Activate the group rules by clicking the INACTIVE button:

Document image


Click SAVE to complete the rules addition:

Document image


Document image

  • Name: An appropriate name
  • Mapping Value: Okta group name sent in the ‘memberOf’ attribute
  • Assigned groups: Nile Portal ‘Administrator’ and ‘Monitor’ groups

NOTE

Note: You may have to change the upload file type to “all files” in order to get the certificate file uploaded

Second Pass at the OKTA App Integration Setup



Document image


Click the Edit button and replace the dummy entries as follows: Single Sign On URL: Location Audience URI: entityID

Document image


Go back to the Okta portal and open the Nile-Okta-SAML-app:

PSK-SSO SSID Setup

Login to the Nile Portal

Go to the Settings -> Wireless page to create the PSK SSO SSID:

  • Select the ‘Personal’ radio button
  • Type the desired SSID name
  • Select the Security option
  • Check off the ‘Enable SSO’ box
  • Enter the Pre-shared key
  • Select the previously created PSK-SSO segment

Click the SAVE button to complete the PSK-SSO SSID creation

Document image