Configure Single Sign-On (SSO) & Just-in-Time (JIT) for Appspace Cloud

The Appspace platform can be configured to integrate with Security Assertion Markup Languages (SAML) 2.0 compliant identity providers (IdP), allowing for seamless and secure connections using a single set of credentials, simplifying username and password management with Single Sign-On (SSO). When you log in to Appspace, your credentials are authenticated by the IdP, and a SAML 2.0 assertion is sent to Appspace via the web browser to allow access to Appspace. Additionally, Appspace provides the following seamless SSO configuration options for organizations utilizing an external IdP:

  • Just-in-Time (JIT) provisioning: when a user already configured in an access management tool (i.e. Okta/OneLogin) signs in to the Appspace console for the first time using SSO, JIT provisioning uses a SAML assertion to automatically create users on the Appspace account if they do not already exist. This eliminates the need to create user accounts separately for Appspace.
Note
See Introduction to Configuring SSO with Appspace for more information. If you’d like to configure SSO on Appspace private cloud, please contact Appspace Support.

This article provides the instructions to enable and configure Single Sign-On (SSO) on an Appspace 8.0 on-prem deployment, while providing the option to enable Just-in-Time (JIT) provisioning:

Prerequisites

 
  • An Identity Provider that is SAML 2.0 compliant.
  • IdP metadata, or the SSO URL and the x.509 certificate.
    Important
    Please ensure the NameID in the SAML assertion is the email address of the user.
    Appspace uses the following NameID format: urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
  • Appspace account with Account Owner credentials to configure SSO settings.
  • Make Appspace available in the IdP-specific App Store catalog.

JIT Provisioning

  • An Appspace User Group to act as the default user group for newly created JIT-provisioned users. 
  • Configure a SAML identification attribute flag to identify an IdP user as one that should be created in Appspace. This attribute can be selected by the IdP administrator and should be configured in both the IdP and in Appspace.
  • Configure the IdP to pass the correct JIT-related attributes to Appspace such as attribute mappings for the First Name and Last Name fields.
  • Configure JIT as per the specific access management tool (i.e. Okta/OneLogin) and ensure that any Appspace-specific attributes are created and passed with each assertion. 
 

Enable and Configure Single Sign-On (SSO) Authentication

Follow the instructions below to enable and configure SSO (Single Sign-On) authentication for Appspace.

  1. Log in to the Account Management Portal (https://account.appspace.com) with your Account Owner credentials.
  2. Click the Settings tab, and click the Account Authentication side panel tab.
  3. In the AUTHENTICATION METHOD section, select Single Sign-On (SSO) authentication method from the drop-down menu to enable and configure SSO.
  4. In the SINGLE SIGN-ON (SSO) SETTINGS section, select the desired Login Method:
    • SSO only Users will be required to sign in with their single sign-on credentials. Only Account Owners can sign in with an Appspace password.
    • SSO or Appspace CredentialsAccount Owners and users will be able to sign in with either their Appspace or single sign-on credentials.
  5. In the IDENTITY PROVIDER (IDP) INFORMATION section, configure the IdP settings using one of the following methods:

    Important
    Please ensure the NameID in the SAML assertion is the email address of the user.
    Appspace uses the following NameID format: urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
    • Drop or upload the IdP metadata XML file.
    • Manually enter the SSO URL and X.509 Certificate details in the relevant fields.
  6. In the GENERATING SERVICE PROVIDER (SP) METADATA section, select the desired Data binding (IdP to SP) option:
    • RedirectUsers are redirected to the Identity Provider. SSO details will be passed in a query string with “?SAMLRequest=……” as part of the URL.
    • PostSSO details are passed using the POST method. Ensure the Identity Provider has direct access to the Appspace Server for this method to work.
  7. Click Save once all SSO configurations have been made.

Configure Just-In-Time (JIT) User Provisioning

Just-In-Time Provisioning allows you to enable the automatic creation of users on the Appspace account if they do not exist.
 
  1. Log in to the Account Management Portal (https://account.appspace.com) with your Account Owner credentials.
  2. Click the Settings tab, and click the User Provisioning side panel tab.
  3. Select the JIT (VIA SAML) radio button from the User Provisioning options to display the JIT settings.
  4. Enter the User Group to which new users will be assigned to, in the text field.
    Note
    By default, the SAML attributes are mapped to first name and last name of the IdP configuration.
  5. Optionally, click the Show advanced configuration link, if you would like to map the SAML attributes to a value that matches your IdP implementation.

    • Enter in the JIT condition Attribute Name and Attribute Value Regex.
      Note
      The SAML identification attribute flag, Attribute=”appspace-role” and Value=”^platform-user$”.

      This value is a regular expression. If the attribute value matches this regular expression then the user is provisioned via JIT. Regular expressions allow very flexible matching for the wide array of IdP configurations.

      This allows you to only provision platform users for some employees, while allowing for pass-through access. By default, this looks for an attribute called “appspace-role” with a value of “platform-user$”, however this is designed to be flexible and has a regex match. You could also make it match all users by setting it to something like attribute = ‘mail’ value = ‘.*’ (regex wildcard that will match any email value).
    • Enter in the SAML attributes mapping for the First name and Last name.
  6. Once done, click Save to complete the JIT configuration settings.
Important
Ensure first time users log via the Login URL listed in the GENERATING SERVICE PROVIDER (SP) METADATA section, in order for their user accounts to be created automatically by the JIT provisioning feature. Once their user accounts have been created, they may continue to log in via the default Appspace login URL.

Disable Single Sign-On (SSO)

  1. Log in to the Account Management Portal (https://account.appspace.com) with your Account Owner credentials.
  2. Click the Settings tab, and click the Account Authentication side panel tab.
  3. In the AUTHENTICATION METHOD section, select Default (cloud.appspace.com) authentication method from the drop-down menu to enable and configure SSO.
  4. Click Save.
Related Articles