Docs Security & access
Security & access
SAML single sign-on
Connect Kumo.io to a SAML 2.0 identity provider such as Okta or Microsoft Entra ID. You add the connection in Kumo.io, register Kumo.io with your identity provider, then activate it. On hosted Kumo.io you set it up in your Kumo.io account; on a self-hosted installation, in Settings.
Hosted Kumo.io
On hosted Kumo.io, single sign-on belongs to your Kumo.io account, not to one workspace. Set it up at https://account.kumo.io/settings/sso (Single Sign-On in your Kumo.io account). In a workspace, the Your Kumo.io Account group in Settings links there.
- Plan. SAML single sign-on needs the Enterprise plan. On another plan the SAML card says "Your plan does not include SAML single sign-on, so no connection can be added or turned on. Existing connections keep working, and you can disable or delete them." After a move to a plan without it, connections you already have keep signing people in. You can't add a connection or activate one, but you can still disable or delete it, and turn Require single sign-on off. If you need single sign-on on a smaller plan, OpenID Connect is included from the Team plan.
- Role. Only an account owner can see and change these settings.
Register Kumo.io with your identity provider
The SAML card shows these under Register These at Your Identity Provider, each with a copy button, before you add a connection:
| Setting | Value |
|---|---|
| Entity ID (audience) — SP Entity ID on the card | https://account.kumo.io/sso/saml/<account-id>/metadata |
| Assertion Consumer Service (ACS) URL — ACS URL on the card | https://account.kumo.io/sso/saml/<account-id>/acs |
The entity ID is also the address of Kumo.io's service-provider metadata. Once a connection exists, Download SP Metadata fetches it, for identity providers that import metadata.
Add and activate the connection
Fill in Connection name, IdP entity ID, IdP SSO URL and IdP Signing Certificate (PEM), select Add SAML Connection, then Activate, as in the self-hosted steps below. Kumo.io accepts responses through the HTTP-POST binding and asks for both the response and the assertion to be signed.
How people sign in
Sign-in always starts at Kumo.io. People open your workspace's address, https://kumo.io/@<workspace-address>, and select Continue with Single Sign-On on the login page; if you require single sign-on, they go straight to your identity provider. Sign-in started from your identity provider's own portal or app tile (IdP-initiated) is refused, so hide or remove that tile.
A SAML sign-in lands only on someone who is already a member of your Kumo.io account, matched the same way as on a self-hosted installation (below). Invite people, or provision them with SCIM, before they sign in. Someone who was removed from the account is refused.
Require single sign-on
Require single sign-on, at the top of the same page, covers SAML and OpenID Connect alike. You can only turn it on from a session that came through your identity provider, and there is no password fallback for owners. The OpenID Connect page covers it in full.
The rest of this page applies to self-hosted installations.
Before you start
- Plan. On a self-hosted installation, SAML single sign-on is part of Enterprise (Licensed). On other plans the SAML card shows a plan notice instead of the setup form.
- Role. Only an Account owner can add, activate, disable or delete a SAML connection.
- Where. The setup is under Settings › SSO & Integrations.
What Kumo.io needs from your identity provider
| Field in Kumo.io | What to enter |
|---|---|
| Connection name | A name for your own reference, for example Okta production |
| IdP entity ID | Your identity provider's entity ID (issuer) |
| IdP SSO URL | The URL Kumo.io sends people to for sign-in |
| IdP Signing Certificate (PEM) | The certificate your identity provider signs with, pasted as a PEM block (-----BEGIN CERTIFICATE----- … -----END CERTIFICATE-----). Kumo.io derives its SHA-256 fingerprint and uses the certificate to verify every sign-in |
Kumo.io accepts responses through the HTTP-POST binding, and asks for both the SAML response and the assertion to be signed.
What your identity provider needs from Kumo.io
Register Kumo.io as a service provider with these values. The SAML card shows both under Register These at Your Identity Provider, each with a copy button, before you add the connection — so you can set up the identity provider first. Kumo.io computes them from the installation's public address (KUMO_EXTERNAL_URL, or the address your browser used when it isn't set), and a connection you add stores exactly these values.
| Setting | Value |
|---|---|
| Entity ID (audience) — SP Entity ID on the card | https://<kumo-address>/auth/saml/<account-id> |
| Assertion Consumer Service (ACS) URL — ACS URL on the card | https://<kumo-address>/auth/saml/<account-id>/acs |
The API returns them too: GET /v1/accounts/{accountId}/sso/setup (saml.entityId, saml.assertionConsumerServiceUrl).
Many identity providers can import these from a metadata file. Select Download SP Metadata on the SAML card to get it.
If your identity provider encrypts assertions, the installation needs the private key matching the certificate in that metadata, set in KUMO_SAML_SP_PRIVATE_KEY. Without it, Kumo.io refuses encrypted assertions. Most identity providers sign but don't encrypt, so you usually don't need it.
Add and activate the connection
- Open Settings › SSO & Integrations.
- On the SAML card, fill in Connection name, IdP entity ID, IdP SSO URL and IdP Signing Certificate (PEM).
- Select Add SAML Connection. The connection is created as a draft and doesn't serve sign-ins yet.
- Register Kumo.io with your identity provider, using the values above.
- Back on the SAML card, select Activate next to the connection.
Once a connection exists, the card lists it and hides the form; select Add Another Connection to add a second one. If an action fails, the error appears on the SAML card itself.
The card's status changes from Not Configured to Configured once a connection exists, and to Active once one is active.
Once a connection is active, https://<kumo-address>/auth/saml/<account-id>/login sends people to your identity provider. Until a connection is active that address returns an error.
Who can sign in
A SAML sign-in lands only on someone who is already an active member of your account. Kumo.io matches the person your identity provider names in this order:
- Someone who signed in through this connection before, by the identity provider's name ID.
- A member whose email matches the email your identity provider sends, ignoring case.
Anyone else is refused with the code saml.principal.no_matching_user. The sign-in never creates a user or adds a member, so invite people, or provision them with SCIM, before they sign in with SAML.
A member matched by email must have a verified email. Members who signed up with a password need to have verified their address; members created by SCIM or single sign-on have no password, and their email came from the identity provider. An unverified match is refused with saml.attribute.email_invalid.
A connection created through the API can instead allow just-in-time sign-up (provisioningPolicy.mode set to just_in_time_user): someone who matches no member then becomes a new member of the account on first sign-in. Connections added in Settings always use the members-only rule.
Require SSO
To make your identity provider the only way in, turn on Require single sign-on at the top of Settings › SSO & Integrations. It applies to the whole account and to SAML and OpenID Connect alike: while it's on and any connection is active, password log-in is refused. You can't turn it on before a connection is active, and if every connection is disabled, password log-in works again. There is no password back door for owners, so test SSO first. The OpenID Connect page covers it in full.
Disable or delete a connection
- Disable stops the connection serving sign-ins. People who sign in through it will need another way to sign in until it's activated again.
- Delete removes the connection permanently, including its identity-provider certificates.
Both ask you to confirm. Neither needs the Enterprise plan, so you can always wind a connection down.
Security
- Kumo.io rejects any response it can't trust: a bad signature, an expired or replayed response, or a malformed document. When that happens, Kumo.io shows a short error code, never the contents of the response.
- Adding, activating, disabling, updating and deleting SAML connections are recorded in the audit log.