Skip to main content

Setting up SSO with authentik

Sign in to freispace using authentik.

Get started in freispace

  1. In freispace, start by clicking Add tenant and entering a name for this connection, e.g. Authentik.

Create application in authentik

  1. Head to Applications > Application.

  2. Click Create with Provider.

  3. Enter freispace as Name. The Slug is set to freispace automatically.

  4. Open UI Settings and set the Launch URL to the Team login URL from freispace (e.g. https://app.freispace.com/login/your-company).

    Create SAML application in authentik

  5. Click Next and select SAML.

  6. Click Next and select an Authorization flow, e.g. default-provider-authorization-explicit-consent

  7. Under Protocol settings, ensure to set:

    1. ACS URL by copying the value from freispace of the field Reply URL / Assertion Consumer Service URL (ACS) (in the format of https://api.app.freispace.com/api/v1/saml2/xxx/acs).
    2. Issuer may remain authentik.
    3. Service Provider Binding must be set to Post.

    Set up authentik SSO in freispace

  8. Open Advanced protocol settings and select a Signing certificate (e.g. authentik Self-signed Certificate)

    Use authentik SAML SSO with freispace

  9. Set any additional settings you may want, click Next to step through configuration and finally confirm with Submit at the end.

  10. Navigate to Applications > Providers and select the appropriate one, likely Provider for freispace.

Setting up freispace

  1. Copy the provided data from Authentik into freispace.

    Authentik namefreispace nameExample data
    IssuerIdP Issuer IDauthentik
    SSO URL (Redirect)Login URL (SSO endpoint)https://your.authentik.domain/application/saml/freispace/sso/binding/redirect/
    SLO URL (Redirect)Logout URL (SLO endpoint)https://your.authentik.domain/application/saml/freispace/slo/binding/redirect/
  2. In Authentik, click Download unter Download signing certificate.

  3. Open the downloaded file in any text editor, copy the entire contents (including -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----) and paste it into IdP X.509 Certificate in freispace.

    Authentik SSO settings for freispace

  4. In freispace, click Save settings. Ensure to Activate the new tenant.

Done! 🎉

freispace should now appear as an app for your users.