Integrating Azure AD SAML with Edge Delta

Azure AD SAML integration for the Edge Delta web application.

Overview

You can set up an Azure AD SAML integration with Edge Delta. The Azure AD SAML Toolkit is used to integrate with Azure AD over SAML. Afterwards, your users will be able to access Edge Delta via a single sign-on process. 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. Add the Azure AD SAML Toolkit

  1. Access the Azure portal, then on the navigation pane, select Azure Active Directory.
  2. Navigate to Enterprise Applications, and then select All Applications.
  3. To add new application, select New application.
  4. In the Add from the gallery section, type Azure AD SAML Toolkit in the search box.
  5. Select Azure AD SAML Toolkit, and then add the app and name it Edge Delta or similar. You may need to wait a few seconds for the app to be added to your tenant.

2. Configure the Azure AD SAML Toolkit

  1. In the Azure portal, on the Azure AD SAML Toolkit application integration page, locate the Manage section, and then select single sign-on.
  2. On the Select a single sign-on method page, select SAML.
  3. On the Set up single sign-on with SAML page, click the edit/pen icon for Basic SAML Configuration.
  4. Enter the following values in the corresponding fields:

As another option, you can download then upload the Edge Delta SAML service. To download, visit https://api.edgedelta.com/saml/metadata.

  • Identifier (Entity ID): https://api.edgedelta.com/saml/metadata
  • Reply URL (Assertion Consumer Service URL): https://api.edgedelta.com/saml/acs
  • Sign on URL: https://api.edgedelta.com/saml/acs
  • Relay State (Optional): https://app.edgedelta.com/saml
  • Logout Url (Optional): https://api.edgedelta.com/logout
  1. Next to Federation Metadata XML, click Download, and then save the file. You will need this file in a later step.

3. Assign Users for SAML

Before a user can utilize single sign-on access, you must assign the user to the Azure AD SAML.

  1. In the Azure portal, select Enterprise Applications, and then select All applications.
  2. In the applications list, select Azure AD SAML Toolkit.
  3. In the app’s overview page, locate the Manage section, and then select Users and groups.
  4. Select Add, and then in the Add Assignment box, select Users and groups.

4. Configure the Edge Delta App

  1. Log on to the Edge Delta App with an administrator account.
  2. Click Admin and select the My Organization tab.
  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 http://schemas.microsoft.com/ws/2008/06/identity/claims/role for the Group Attribute Mapping Field and specify a Default Group.
  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="http://schemas.microsoft.com/ws/2008/06/identity/claims/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 http://schemas.microsoft.com/ws/2008/06/identity/claims/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.