Integrating Okta SAML with Edge Delta

Okta SAML integration for the Edge Delta web application.

Overview

You can set up an Okta SAML integration with Edge Delta.

To use this document, you must have administrative access to your Okta account and Edge Delta account.

Edge Delta supports both identity provider (IDP) and service provider (SP) initiated login workflows. The IDP workflow logs in a user from the IDP dashboard, whereas the SP workflow logs a user in from the Edge Delta login page.

1. Create an Okta SAML integration

  1. Click Applications in the Okta dashboard.
  2. Click Create New App.
  3. In the Platform sectiion, select Web. For Sign on method, select SAML 2.0 and click Create.
  4. Enter a descriptive name for the app, such as Edge Delta SAML.
  5. Click Next.
  6. Complete the missing fields with the following information:
  • For Single sign on URL, enter https://api.edgedelta.com/saml/acs.
  • Select Use this for Recipient URL and Destination URL.
  • For Audience URI (SP Entity ID), enter https://api.edgedelta.com/saml/metadata.
  • For Default RelayState, enter https://app.edgedelta.com/saml.
  • For Name ID format, select EmailAddress.
  • For Application username , select Email.
  • For Update application username on, select Create and update.
  • For Encryption Certificate, navigate to https://api.edgedelta.com/saml/metadata, and in the downloaded file, copy and paste the text within the X509Certificate and /X509Certificate brackets.
  1. Click Next.
  2. Select I’m an Okta customer adding an internal app.
  3. Select This is an internal app that we have created.
  4. Click Finish.
  5. From the Settings section of the Sign On menu for the new application, locate and copy the metadata URL for the Identity Provider metadata.
  • You will need this information in a later step.

2. Assign Users to Groups (optional)

View this article from Okta for more information.

3. Configure SAML in Edge Delta

  1. Log on to the Edge Delta App with an administrator account.
  2. Click Admin - My Organization.
  3. In the Organization section, click Edit.
  4. In the Approved Domains field, enter the domains of the email addresses authorized to join the organization. You specify a domain and press Enter before entering the next domain.
  5. Click Save.
  6. In the SAML Settings section, click Edit.
  7. If you are using a Service Provider Initiated login workflow, you must enter the domain of the email addresses of authorized users from step 4. You can enter a comma separated list of different domains.
  8. Select Metadata URL, and then paste the IDP Metadata URL you copied earlier.
  9. For Metadata URL Verification, select Enabled.
  10. Optionally, select Enforcement - Require Authentication Via SAML To Access This Organization. This disables the ability to log in to Edge Delta with a user name and password for normal users. They must use the IDP to log in. However, Edge Delta admin account holders can still log in with their username and password on the Edge Delta login page.
  11. Optionally, select JIT Provisioning - Enable JIT User Provisioning And Dynamic Group Membership For This Organization. Enter a Group Attribute Mapping Field and a Default Group. The field name is groups by default but it is configurable. It should match the SAML attribute name sent by IDP.
  12. Click Save.

Just in Time (JIT) provisioning determines the group configured for the user in the IDP based on the Group Attribute Mapping Field and it assigns users to an existing Edge Delta permissions group with the same name.

<saml:Attribute 
   NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"
   Name="groups">
   <saml:AttributeValue
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:type="xs:string">custom_admin
   </saml:AttributeValue>
   <saml:AttributeValue
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:type="xs:string">custom_super_admin
   </saml:AttributeValue>
</saml:Attribute>

In this example of an IDP’s SAML group assertion, the groups values are custom_admin and super_custom_admin. The user will be added to an Edge Delta group called custom_admin if it exists in Edge Delta and it will also be added to the super_custom_admin group if it exists. When there is more than one group, the user will have the most permissive permissions of the groups they belong to.

If no IDP group is detected, or if the asserted group does not match an existing Edge Delta group, the user is added to the default group. When the user logs out, they are removed from the Edge Delta group.

Removing Admin Permissions

To remove regular permissions from a user when JIT is enabled, simply remove them from the permissions group in your IDP. However, to remove admin permissions from a user, you must remove them using the IDP and also remove them from the Admin group in Edge Delta. This helps prevent accidental account lockout. To remove an admin user:

  1. Remove admin permissions from the user in the IDP (if JIT is enabled.)
  2. In the Edge Delta app, click Admin - My Organization.
  3. Click Groups.
  4. Click the Actions column button in the Admin row and select Edit User Group.
  5. Click Group Members.
  6. Click the Delete button on the user you want to remove from the Admin group.