Single sign-on
/ade/dashboard/sso
Single sign-on lets everyone at your company sign in to Apiome with their work account, through your own identity provider (IdP) — Okta, Microsoft Entra ID, Google Workspace, Keycloak, Auth0 or any other that speaks SAML 2.0 or OpenID Connect (OIDC). You set it up in three steps: connect the IdP, verify an email domain you own, and enable the provider. Go to Workspace → Single sign-on.


/ade/dashboard/ssoThe page is for workspace owners and admins. Everyone else sees Owners and admins only.
Each provider in the list shows its protocol, its domains and how many are verified, how many members have signed in through it, and one of three states:
| State | What it means |
|---|---|
| Live | Enabled, with at least one verified domain. People at those domains are sent to it when they sign in |
| Needs a verified domain | Enabled, but no domain is verified yet, so nobody is sent to it |
| Disabled | Off. Nobody is sent to it |
Connect your identity provider
Use whichever protocol your IdP offers — most offer both.
| OIDC | SAML 2.0 | |
|---|---|---|
| You give Apiome | The issuer URL, a client ID and a client secret | The IdP's metadata URL, or its metadata XML pasted in |
| You give the IdP | The Redirect URI Apiome shows | The ACS URL and the SP entity ID Apiome shows |
| Where the email comes from | The ID token's email — the IdP must mark it verified | The NameID, or an attribute you name |
-
Click “Add provider”.
-
Choose OIDC or SAML 2.0, and give it a Name — for example
Northwind Okta. The ID fills in from the name; it appears in sign-in URLs and in the audit trail assso:<id>. -
For OIDC, enter the Issuer URL (for example
https://northwind.okta.com), the Client ID and the Client secret from the app you registered at the IdP. Apiome reads the issuer's discovery document and checks it before saving.For SAML 2.0, enter the IdP metadata URL or paste the IdP metadata XML, then choose where the email address comes from: The NameID, or An attribute and its name (for example
mail). Add an SP signing key only if your IdP requires signed sign-in requests. -
Choose a Default role — the role a member gets the first time they sign in through this provider — or leave Workspace default, which is Viewer. Owner is not offered. See Who becomes a member.
-
Click “Add provider”. The provider is added Disabled and its drawer opens.
The client secret and the signing key are stored encrypted and never shown again.
Apiome refuses an IdP it could never sign anyone in through, and says why — for example a discovery document that names a different issuer, or an IdP that offers single sign-on only over HTTP-Artifact.
Give the IdP its values
Click a provider's name to open its drawer. The Configure tab starts with what your IdP's app settings need — the Redirect URI for OIDC, or the ACS URL (reply URL) and SP entity ID (audience) for SAML — each with a “Copy” button.


/ade/dashboard/ssoBelow them you can change the provider's settings. Leave Client secret, SP signing key and the two metadata fields blank to keep what is stored — Apiome never reads a secret back. Click “Save changes” when you are done.
Verify a domain
An IdP may only sign in addresses at domains you have proved you own. Until a domain is verified, it sends no one anywhere.
-
In the provider's drawer, click the “Domains” tab.
-
Type your email domain in Add a domain — for example
northwind.io— and click “Add domain”. -
At your DNS provider, add the TXT record the row shows. “Copy” copies each value:
Field Value Type TXTName _apiome-challenge.northwind.ioValue The token shown for the domain -
Click “Verify”. Apiome looks the record up and tells you what it found.


/ade/dashboard/sso| Result | What it means | What to do |
|---|---|---|
| Verified | The record holds the token. The domain now routes sign-ins | Nothing — you can remove the DNS record |
| Record not found | There is no TXT record at that name yet | Check the record name, wait for DNS to update and try again |
| Record has another value | A TXT record is there, but it is not this token. The answer is shown | Replace it with the value shown |
| Could not check | The lookup itself failed — a timeout, or the DNS servers did not answer. The answer is shown | Nothing was changed. Try again in a few minutes |
A domain is never marked verified unless the lookup succeeded and found the token.
You can check a domain three times an hour. After that, Apiome tells you how long to wait.
Apiome refuses some domains outright:
- Public email providers —
gmail.com,outlook.com,yahoo.comand the like. Add a domain your organization owns. - A domain another workspace has verified. A domain signs in through one identity provider only. If you own the domain, ask whoever verified it to remove it.
Adding a domain without verifying it reserves nothing: someone else who can prove the domain may still verify it first.
Click “Remove” beside a domain to take it off the provider. Sign-ins from it stop at once.
Turn it on
Click “Enable” at the foot of the drawer. The provider becomes Live as soon as it is enabled and has a verified domain.
From then on, when someone types a work email at one of your verified domains on the sign-in page, the password field gives way to “Continue with SSO”, which takes them to your IdP.
Click “Disable” to stop it. The very next sign-in no longer goes to the IdP.
Who becomes a member
A provider belongs to your workspace, so signing in through it is how people join. You do not invite them first.
The first time someone at one of your verified domains signs in through the provider, Apiome creates their account if they have none, adds them to this workspace as an active member with the provider's Default role, and takes them straight to the workspace's Home. They are not asked to create a workspace of their own.
What a sign-in does depends on the membership the person already has:
| The person is… | What signing in does |
|---|---|
| Not a member | Adds them with the provider's Default role (Viewer when it is Workspace default) |
| Invited (pending) | Accepts the invitation. They keep the role they were invited with |
| Already a member | Nothing changes. They keep their role — signing in never lowers or raises it |
| Suspended | Nothing changes. They stay suspended until an owner or admin reinstates them on Members & seats |
- Owner is never given by signing in. Make someone an owner on Members & seats.
- Only this workspace. A provider adds people to the workspace it belongs to and to no other. Someone who works with two companies can be a member of both, each through that company's own provider.
- You can see who joined this way. On Members & seats, a member added by single sign-on shows SSO · and the provider's name under Joined, and their drawer shows it as Provisioned by.
- If your installation is closed to new sign-ups, a person with no Apiome account cannot join this way. Ask your administrator about the sign-up policy.
When the workspace is out of seats
Each new member takes one of your plan's member seats. Pending invitations hold a seat; suspended members do not.
When every seat is in use and someone who is not yet a member signs in:
-
Their sign-in completes, but they are not added to the workspace.
-
They see Your workspace is out of seats, which tells them the owners have been notified.


Route /login/out-of-seats -
Every owner and administrator of the workspace gets a notification naming the person — once per person per day, however often they try.
-
The block is recorded in the access audit as
member.provision_blocked.
To let them in, free a seat on Members & seats — offboard or suspend someone, or cancel an invitation — or change the plan. The next time the person signs in they are added. People who are already members sign in as usual while the workspace is full.
Remove a provider
- Click “Remove…” at the foot of the drawer. Apiome tells you how many members have signed in through the provider.
- Click “Remove” followed by the provider's name to confirm, or “Keep it” to go back.
Removing a provider deletes its domains and its stored secrets. Members who signed in through it keep their accounts, but can no longer sign in this way — make sure they have a password or another sign-in method first.
What is recorded
Every change on this page is written to the workspace's access audit, with who made it:
| Action | When |
|---|---|
sso.provider.created | A provider is added |
sso.provider.updated | Settings change, the provider is enabled or disabled, or a domain is added or removed |
sso.domain.verified | A domain passes its DNS check |
sso.provider.deleted | A provider is removed |
member.provisioned | Someone is added to the workspace by signing in, or accepts an invitation that way. The source is sso |
member.provision_blocked | Someone signed in but was not added, because every member seat was in use. The source is sso |
No secret is ever written to the audit. Sign-in attempts themselves are recorded separately, as
sso:<id>.
When something is refused
| Code | What it means | What to do |
|---|---|---|
sso-domain-public | The domain is a public email provider | Add a domain your organization owns |
sso-domain-claimed | Another workspace has verified this domain | Ask its owner to remove it there |
sso-domain-exists | The provider already lists this domain | Nothing to add |
sso-domain-invalid | That is not an email domain such as acme.com | Check the spelling; wildcards are not accepted |
sso-verify-rate-limited | The domain was checked three times in the last hour | Wait as long as the message says |
sso-default-role-invalid | The default role is Owner, or not a role of this workspace | Choose another role |
sso-enable-incomplete | An OIDC provider has no client secret | Add the client secret on Configure, then enable |
sso-slug-taken | Another provider already uses that ID | Choose a different ID |
What happens when someone signs in, and the codes a failed sign-in shows, are on the admin guide's Single sign-on page.
For operators
- Single sign-on needs
AUTH_CONFIG_ENC_KEYandINTERNAL_SERVICE_TOKENset, as described under For operators in the admin guide. APIOME_SSO_PUBLIC_DOMAINSon apiome-rest replaces the built-in list of public email providers with your own comma-separated list.- Domain checks use the DNS resolvers of the machine apiome-rest runs on.
- Members are added by apiome-ui calling apiome-rest with
INTERNAL_SERVICE_TOKENafter each single sign-on. If that call gets no answer, people who are already members still sign in; anyone else sees You signed in, but we could not add you to your workspace just now and can try again. - Setting
APIOME_LICENSE_ENFORCEMENT_ENABLED=falseon apiome-rest switches the member-seat limit off for single sign-on too. - The installation administrator can still connect a provider for any workspace, and mark a domain verified without a DNS record, from the admin console's Single sign-on card.
- The same operations are available over the REST API:
/v1/tenants/{tenant}/sso/providers.