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

This article provides instructions to enable the Single Sign-On (SSO) feature for Appspace Cloud.

With SSO, Appspace Cloud accounts can now be configured to integrate with Security Assertion Markup Language (SAML) 2.0 compliant identity providers, allowing for seamless and secure connections using a single set of credentials, simplifying username and password management. When you login to Appspace, your credentials are authenticated by the identity provider, and a SAML assertion is sent to Appspace via the web browser to allow the login access to Appspace. 

Appspace provides the following two additional seamless SSO configuration options for users on an external IdP: 

  • Just-in-Time (JIT) provisioning
  • Pass-through authentication
Note

What’s in this article: 

Requirements

 

JIT Provisioning

  • An Identity Provider that is SAML 2.0 compliant. 
  • IdP metadata, or the SSO URL and x.509 certificate. 
  • Appspace account with Account Owner credentials to configure SSO settings.
  • 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. 
  • Make Appspace available in the IdP-specific App Store catalog.

Pass-through Authentication

  • An Identity Provider that is SAML 2.0 compliant. 
  • IdP metadata, or the SSO URL and x.509 certificate. 
  • Appspace account with Account Owner credentials to configure SSO settings.
 

Enable 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 the Account Authentication tab in the side panel.
  3. In the AUTHENTICATION METHOD section, select Single Sign-On (SSO) as the authentication method, to view additional SSO configurations.
  4. In the SINGLE SIGN-ON (SSO) SETTINGS section, select the desired Login Method:
    • SSO only – Users must log in with Single Sign-On credentials.
    • SSO or Appspace Credentials – Users can login with their Single Sign-On credentials and their Appspace credentials.
  5. In the IDENTITY PROVIDER (IDP) INFORMATION section, drop or upload the IdP metadata XML file, or manually enter the SSO URL and X.509 Certificate details in the relevant fields.

    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
  6. In the GENERATING SERVICE PROVIDER (SP) METADATA section, select the desired Data binding (IdP to SP) option:
    • Redirect – Users are redirected to the Identity Provider. SSO details will be passed in a query string with “?SAMLRequest=……” as part of the URL.
    • Post – SSO details are passed using the POST method. Ensure the Identity Provider has direct access to the Appspace Server for this method to work.
  7. Optionally, you may enable the following features:
    • Just-In-Time Provisioning (JIT) – follow the instructions in the Configure Just-In-Time Provisioning section below.
    • Pass-through Authentication – this feature is ideal for on-prem deployments, and is disabled by default on cloud. Please contact Appspace Support if you would like to enable it.
  8. Once all SSO configurations have been made, click Save.

Configure Just-In-Time Provisioning (JIT)

Just-In-Time Provisioning allows you to enable the automatic creation of users on the Appspace account if they do not exist.
 
  1. In the JUST-IN-TIME PROVISIONING (JIT) section, slide the Enable JIT? slider to ON.
  2. Enter in the User Group in which the new users will be assigned to.
    Note
    By default, the SAML attributes are mapped to first name and last name of the IdP configuration.
  3. 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.
  4. Once done, click Save to complete the JIT configuration settings.
 

Disable Single Sign-On (SSO)

  1. Log in to the Account Management Portalhttps://account.appspace.com ) with your Account Owner credentials.
  2. Click the Settings tab, and the Account Authentication tab in the side panel.
  3. In the AUTHENTICATION METHOD section, select Default (cloud.appspace.com) as the authentication method.
Related Articles