Authentication

Humanitec supports 3 Authentication mechanisms:

  • Google
  • GitHub
  • Single Sign On via SAML

Users can sign up directly using Google or GitHub without any other configuration. For users to use Single Sign On with SAML, further configuration is necessary.

Configuring SAML (Security Assertion Markup Language)

To connect your SAML Identity Provider (IdP) with Humanitec, reach out to Humanitec support. This guide provides an overview of the SAML integration process and the steps required to configure the IdP.

Overview

The integration between Humanitec and your SAML IdP enables users to authenticate using SAML-based Single Sign-On (SSO), like Okta. By following the instructions below, you can configure the SAML settings on both ends to establish a secure and seamless authentication flow.

The steps are as follows:

1. Required information

Before you contact Humanitec, you must:

  • have already created a Humanitec Organization and know its ID,

  • choose an existing user who has the Administrator role in the Organization to act as the authorization for new SAML users,

  • decide what role you want users accessing via SAML to have by default. It must be one of Member, Manager or Administrator. See RBAC for more information.

  • have the following Identity Provider SAML Metadata available:

    • An SSO URL - The URL to redirect to perform the Identity retrieval
    • An Entity ID - This is a unique ID representing the App.
    • A Certificate - This is used to verify the assertions.

    (This information is normally available bundled together as an IDPSSODescriptor or SAML Metadata file.)

  • The domain that your SAML users have email addresses under. For example, everything after the @ in the email address. This is used to restrict the users that can sign in via SAML to those with email addresses under this domain.

2. Contact Humanitec support

Contact Humanitec support and provide the previous information. You will receive a response with the following information:

  • An ACS URL: The Assertion Consumer Service (ACS) URL provided by Humanitec, in the following format: https://api.humanitec.io/auth/saml/{SAML_ID}/acs.
  • Entity ID: The Entity ID for Humanitec’s SAML integration, in the following format: https://api.humanitec.io/auth/saml/{SAML_ID}/metadata.

3. Configure your SAML Service Provider (SP)

  • Enter the An ACS URL and Entity ID

  • Set the Name ID Format to EMAIL

  • Define mappings from your schema to the following used by Humanitec:

    • email

    • firstName

    • lastName

    • Name ID Format: The format used for the Name ID. In this case, the format is: EMAIL.

  • Test the sign-in process by visiting: https://app.humanitec.io/auth/login and selecting on the Single Sign-on (SSO) button.

Top