Skip to main content

Overview

Single Sign-On (SSO) lets your team sign in to Kodus through your identity provider over SAML 2.0. Owners configure SAML SSO in Organization → SSO.

Getting Started

1

Access SSO settings

In the sidebar, open Organization → SSO (app.kodus.io/organization/sso). SSO is available on the Enterprise plan (and during a trial); on other plans the page shows a locked preview.
2

Fill in your IdP configuration

Under SAML SSO Configuration, turn on Enable SAML SSO to show the settings, then fill in your IdP’s settings: IDP Issuer, SSO URL and X.509 Certificate. These can be filled in manually or by providing either your IdP’s Metadata URL (optional) (then Fetch) or a metadata XML file (Upload Metadata XML File).
These values can usually be found in your IdP’s documentation or in their admin console.
3

Configure Kodus as a SP in your IdP

Configure Kodus as a SP in your IdP by providing our entity ID (Service Provider Entity ID, kodus-orchestrator by default) and your organization’s Callback URL, both shown on the SSO settings page.Make sure the name ID format is set to email.
Ensure you disable signing certificates in your IdP’s SP configuration.
4

Verify your domains

Add your email domains under Allowed Domains (public domains such as gmail.com are not allowed) and click Verify on each one. In Verify Enterprise Domain, enter an email at that domain to receive a verification link (self-hosted instances verify immediately). Each domain must show Verified before SSO can be enabled.
5

Test and enable SSO

Click Test connection and complete a login at your IdP. SSO can only be saved as enabled after a successful test, so run the test again after you change the IdP settings or domains. After a successful test, click Save settings with Enable SAML SSO on.

Optional Configuration

Mapping Attributes

You can map the following attributes from your IdP to Kodus users, improving the user experience.
  • First Name, mapped to firstName
  • Last Name, mapped to lastName

Signing in

On the sign-in page, type your email. If its domain has SSO enabled, Kodus shows Continue with SSO instead of asking for a password, and sends you to your IdP. The first time someone signs in through SSO, Kodus creates their account in your organization with the Contributor role, without an email confirmation step. An Owner can change the role afterwards under Organization → Subscription → Workspace members; see Workspace Roles.