Skip to main content

General SAML2 Integration

The administrative workflow for setting up a SAML2 identity provider (IdP) consists of the following steps:

  1. Enable SAML2 Providers at the desired entity level (Customer, Organization, or Account).
  2. Create a SAML2 identity provider in Frame.
  3. Enter the necessary configuration information for your new SAML2 identity provider in Frame.
  4. Enter the configuration information in your actual SAML2 identity provider.
  5. Verify that both sides of the IdP integration are properly configured by attempting to login using your identity provider.
  6. Add SAML2 Permissions (authorization rules) at the Customer, Organization, or Account entity level to authorize users to specific roles.

Depending on the specific SAML2 identity provider, you may need to perform Step 4 before Step 3.

Frame supports both IdP-initiated and SP-initiated authentication workflows. In general, most customers implement SP-initiated authentication workflows by directing users to a Frame URL and letting Frame redirect the user to the SAML2 identity provider.

Getting started

To begin, let's create a URL-friendly SAML2 Integration Name that we'll use in a few places throughout our setup. Continue below for help and examples that you can use in your SAML integration.

Integration Name examples for SAML2 Identity Providers

Your SAML2 Integration Name is a case-sensitive, URL-friendly, unique, and descriptive value that represents the integration between your SAML2 Identity Providers and Frame. This value can have only letters, numbers, and the dash symbol; no spaces or punctuation are allowed.

We recommend using something that includes descriptive information, such as your company and identity provider's names. This integration name is tied to your SAML2 endpoints on Frame and using descriptive names can be useful for debugging.

Optionally, fill out the information below to get a recommendation of what you could use.







Using the values copied from above and following the steps below, we'll create and gather these details to configure proper communication between your IdP and Frame.

  1. Before a SAML2 identity provider can be added, the administrator must enable SAML2 Providers at a given level by navigating to the Admin Console. From there, navigate to the Customer or Organization page (depending on where you wish to add the IdP). Select Users from the left-hand menu.

    note

    Unless there is a specific reason to do otherwise, adding the SAML2 Provider at the Customer or Organization level is best practice.

  2. Enable the SAML2 toggle under the Authentication tab and click Save.

    Enable SAML2 Providers

  3. You'll see a new "SAML2 Providers" tab appear; click it and you'll see a Add SAML2 provider button.

    Add SAML2 Providers

Creating a SAML2 Provider

  1. In the SAML2 Providers tab, click Add SAML2 Provider at the top right. A dialog to add a SAML2 provider will appear.

    SAML2 Provider Dialog

    • Application Id: This field is sometimes referred to as Service Provider (SP) "Entity ID" or "Audience URI". It can technically be any text but is usually in the form of a URL and is often simply https://frame.nutanix.com. For successful authentication, it is important that value entered in this field matches at least one of the values within "Audience Restriction" list that is part of the SAML2 assertion created by Identity Provider (IdP).
    • Auth provider metadata: Check the "URL" option and paste the Identity Provider metadata URL from your SAML2 IdP.
    • Integration Name: Enter your unique SAML2 Integration name here. This is defined in the Getting Started section at the beginning of this page.
    • Custom Label: When specified, this value will be used in the login page as Sign in with <Custom Label>.
    • Authentication token expiration: Set the desired expiration time for the authentication token. This can range from 5 minutes to 7 days. If the user is inactive for the configured amount of time, Nutanix Console will logout the user from Nutanix Console. If the user is active within the console (e.g., clicks on hyperlinks, moves the mouse/cursor, scrolls, or presses keys), the token will be renewed just before the user token expires. If the user is in a Frame session, the token is automatically renewed so the user is not disconnected while in session.
    • Signed response: Disable or enable based on your SAML2 identity provider.
    • Signed assertion: Disable or enable based on your SAML2 identity provider.
    note

    The SAML2 identity provider is typically configured to sign the SAML2 Authentication Response message or the SAML2 Assertion embedded within the Authentication Response message (and not both). The choice of what is signed by the SAML2 IdP must be the same choice in the Frame SAML2 IdP configuration. Otherwise, Frame will return a identity provider misconfiguration error when Frame processes the SAML2 Authentication Response from the SAML2 IdP.

  2. Click Add when ready to create the SAML2 Provider definition.

Configure your SAML2 IdP

  1. Each SAML2-compliant identity provider will have its own configuration requirements. However, there are some common configuration parameters used by SAML2 identity providers:

    • Frame Metadata URL: This URL is in the form: https://img.frame.nutanix.com/saml2/metadata/[SAML2_INTEGRATION_NAME]/.

    • Single Sign-on URL or Assertion Consumer Service (ACS) URL: This URL is in the form: https://img.frame.nutanix.com/saml2/done/[SAML2_INTEGRATION_NAME]/. The SAML2 IdP will send the SAML2 Authentication Response to this URL.

    note

    Frame does not support the SAML2 Single Logout Request.

SAML2 User Attribute Names

  1. In order for Frame to display properly the user's first name, last name, and email address in the Dashboard and Launchpad, your SAML2 identity provider configuration must provide these values using the SAML2 attribute names, as described in the following table:

    User attribute
    SAML2 attribute name
    First nameUse givenName, /urn:mace:dir:attribute-def:givenName/, or http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname

    SAML2 nameFormat:
    urn:oasis:names:tc:SAML:2.0:attrname-format:basic
    Last nameUse sn, /urn:mace:dir:attribute-def:sn/, or http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname

    SAML2 nameFormat:
    urn:oasis:names:tc:SAML:2.0:attrname-format:basic
    Email addressUse mail, /urn:mace:dir:attribute-def:mail/, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress, or http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name

    SAML2 nameFormat:
    urn:oasis:names:tc:SAML:2.0:attrname-format:basic
    Name IDNameID

    SAML2 nameFormat:
    urn:oasis:names:tc:SAML:2.0:nameid-format:persistent

Optional SAML2 Attributes

Frame also supports two optional SAML2 attributes that the IdP can include in the SAML2 Authentication Response:

  • frame_logout_url: user is directed to this URL when the user logs out of the Launchpad or if they decide to leave Frame after being logged out due to inactivity.

  • frame_login_url: user is directed to this URL when the user wants to log back into Frame after being logged out due to inactivity.

Customers may also configure their SAML2 IdP to send other SAML2 attributes that can be used when configuring SAML2 permissions. The most common would be a SAML2 attribute that is associated with a list of groups, such as a list of Active Directory groups, that the user is a member of. This allows the administrator to the SAML2 Permissions based on groups (and not individual user email addresses) and then associate the users to those groups in their IdP (or Active Directory, if their SAML2 IdP is connected to their Active Directory).

When these other SAML2 attributes are passed from the IdP to Frame, make sure to use the attribute name as the condition in the SAML2 Permissions authorization rules.

Configuring SAML2 Permissions

note

The Group claim, created in the prior section, must be referenced as http://schemas.xmlsoap.org/claims/Group when creating the SAML2 Permission authorization rule.

Signing into Frame with your SAML integration

Your SAML integration will now appear to your users as a sign in button on your specific Frame Sign in Page.