raia Command · Section
Enterprise SSO
Let people sign in to raia Command with their company login (SAML 2.0), and let your identity provider decide organization access and roles.
Enterprise SSO lets people sign in to raia Command with their company login (SAML 2.0). Optionally, your identity provider can also decide who joins each organization and with which role.
How SSO works
Your identity provider checks who the person is; Command decides what they can open. Command works with any SAML 2.0 identity provider, including Okta, Microsoft Entra ID, Google Workspace, OneLogin, Ping and Topicus KeyHub.
- The person starts sign-in (see the three ways below).
- They sign in at your identity provider, with its password and two-step rules.
- The identity provider sends Command a signed confirmation with the person's email address and, optionally, their roles.
- Command signs them in and applies their organization access.
| Way to sign in | How | What it needs |
|---|---|---|
| Identity provider tile | Click the Raia Command tile in your company portal | Nothing extra |
| SSO sign-in link | Open the link shown on the organization's Single sign-on card | Nothing extra |
| Work email on the sign-in page | Type your work email, then choose Continue with SSO | A confirmed email domain (see Confirm your email domain) |
Turning on SSO adds a sign-in option. People can still sign in with a password or Google until Require SSO is available.
Before you begin
You need an Owner or Admin of a licensed organization, and someone who can configure your identity provider.
- Command: Owner or Admin of the organization. SSO is available on licensed plans only; personal workspaces can't use it.
- Identity provider: an administrator who can create a SAML application and assign people to it.
- Metadata link: the HTTPS address of your identity provider's SAML metadata.
- Email domains: the domains your people sign in with, for example
example.com. Public mailbox domains such as gmail.com are not allowed. - A test person: someone assigned to the SAML application who can try the sign-in.
Set up SSO
Setup takes about 15 minutes: copy two values into your identity provider, then paste its metadata link into Command.
- Open the Single sign-on card. In Command, go to your organization's Edit organization page and scroll to Single sign-on (SAML).
- Copy Command's values. Copy the Reply (ACS) URL and the Entity ID from the card.
- Create a SAML application in your identity provider.
- Reply URL, ACS URL or single sign-on URL: Command's Reply (ACS) URL.
- Entity ID, Audience or client identifier: Command's Entity ID.
- Subject or NameID: a stable identifier for each person, not a temporary (transient) one.
- Attributes: send the person's email address in a standard email attribute.
- Assign the people who should use Command.
- Copy the identity provider's metadata link. It's an HTTPS address that ends in something like
/metadata. - Save the provider in Command. On the Single sign-on card, paste the metadata link, enter your company email domains, and choose Save provider. The card then shows the signing certificate's expiry date.
- Test it. Choose Test sign-in, or open the SSO sign-in link, and sign in as your test person. The card shows the time of the last SSO sign-in.
- Decide how people get access. See How people get access.
All Command organizations share the same Reply (ACS) URL and Entity ID. If your identity provider blocks visitors from outside your region or network, test from inside it.
Confirm your email domain
Confirming a domain proves your company owns it. It's optional when your identity provider manages access, but it unlocks four things:
| With a confirmed domain | Without it |
|---|---|
| Existing Command accounts merge into the person's SSO account | The SSO sign-in creates a separate, new account |
| People who sign in with SSO can accept invitations | Invitations wait until the domain is confirmed |
| Typing a work email on the sign-in page offers SSO | People use the identity provider tile or the SSO sign-in link |
| The home organization can add new people automatically | No automatic joining |
There are two ways to confirm a domain:
- DNS record. Add the TXT record shown on the Single sign-on card at your DNS provider (name
_raia-sso.<your domain>, value startingraia-sso-verify=), then ask raia to confirm it. The card shows Confirmed by DNS. - Confirmation by raia. If a DNS record doesn't suit your setup, raia confirms the domain after checking ownership with your IT team, for example by email from an IT contact at that domain. The card shows Confirmed by raia (manual).
Once a domain is confirmed, anyone at that domain who already has a Command account (password or Google) has it merged into their SSO account the next time they sign in with SSO. If an Owner or Admin later changes the identity provider or its metadata link, the domain goes back to awaiting confirmation.
How people get access
Signing in with SSO proves who someone is; it doesn't add them to an organization by itself. Choose one of three ways per organization:
| Way | Who decides | Needs a confirmed domain | Best for |
|---|---|---|---|
| Access managed by company login | Your identity provider sends each person's organization and role | No | Companies whose IT team manages access centrally, or with several organizations |
| Invitations | Owners and Admins invite people from the Team page | Yes, for SSO accounts | Small teams, or a few hand-picked people |
| Home organization | Everyone at your domain joins one organization automatically, with a set role | Yes | One organization for the whole company; raia turns it on |
Someone who signs in with SSO before they've been given access sees No organization yet, with a note on what to do next.
Let your identity provider manage access
With Access managed by company login on, your identity provider decides who joins the organization and with which role, on every SSO sign-in. No DNS record is needed.
Set it up
- Copy the values. The organization's Single sign-on card shows its organization ID and the exact value for each role, with copy buttons.
- Add the role attribute in your identity provider. Name it
https://raiacommand.com/SAML/Attributes/Roleand allow several values. Send one value per organization the person should reach, usually mapped from group membership. - Test it. Have one person with a value sign in. Under Recent sign-in results, the card shows what would happen, for example Would join as Edit. Nothing changes while the setting is off.
- Turn it on. An Owner turns on Access managed by company login. It can only be turned on after a sign-in result shows a valid role. Turning it on cancels pending invitations.
- Set the default access level. Under Security → Roles, choose the project permissions new people get, for example Viewer.
- Sign out and back in. Roles are applied once per sign-in, so refreshing the page isn't enough.
Values and roles
| Value | Command role |
|---|---|
raia:org:<organization ID>:role:view | View |
raia:org:<organization ID>:role:edit | Editor |
raia:org:<organization ID>:role:admin | Admin |
Example for Okta: in the SAML app's Group Attribute Statements, add https://raiacommand.com/SAML/Attributes/Role and output the value for each group. In Topicus KeyHub: add the same attribute to the SAML application and map it from group membership.
Rules
- If several values name the same organization, the highest role applies.
- Owners are never granted, changed or removed by the identity provider. Owners are managed in Command.
- A new role, higher or lower, applies at the person's next sign-in. When a role is lowered, their project permissions reset to the organization's default.
- Command never removes someone because a sign-in doesn't mention an organization. To remove access, remove the person on the Team page.
- If a sign-in arrives without the role attribute at all, nothing changes.
- If your email domain isn't confirmed, each person confirms their mailbox once, with a code sent by email.
- If the organization uses Approved email domains, the person's domain must be on that list.
While it's on
- Only Owners can invite people, change SSO settings, create organization API keys, or change the role of someone managed by company login.
- The Team page marks those people Managed by company login.
- People who join as View get access to the data rooms that exist when they join. For data rooms created later, an Admin or Editor adds them.
Several organizations, one company login
One company login can serve many Command organizations. Each organization keeps its own role values, its own Access managed by company login setting and its own default access level.
To add an organization:
- Create it while signed in with SSO. You become its Owner. New organizations usually inherit your license; if the Single sign-on card says SSO is available on licensed plans, contact raia.
- Link the company login. On the new organization's Single sign-on card, choose Use the same company login as \<organization>. This option appears when you're an Owner of both organizations. Otherwise, raia links it for you.
- Finish setup. Add the new organization's values in your identity provider, test one sign-in, turn on Access managed by company login, and set the default access level.
In your identity provider, you can use one application for all organizations, or one per organization, if your identity provider allows several applications with the same Entity ID. All organizations share Command's Entity ID and Reply (ACS) URL. With one application per organization, people start from that organization's tile.
A domain confirmed once covers every organization on the same company login.
Accounts and two-step verification
A person's first SSO sign-in creates an SSO account. If they already had a Command account with the same email, the two stay separate until the email domain is confirmed.
After the domain is confirmed, their next SSO sign-in merges the older account into the SSO account:
- Carried over: organization memberships and roles (the higher role wins), data room and folder access, project permissions, organization connectors and organization API keys.
- Switched off: personal API keys and AI tool (MCP) connections on the old account. Reconnect AI tools once after the merge.
- Unchanged: uploads, activity and history stay attributed to the old account.
- The old login stops working.
Two-step verification: SSO sign-ins skip Command's own email code and authenticator prompts, because your identity provider applies its own two-step rules. Password and Google sign-ins keep Command's rules. Download verification still applies to everyone.
What each role can do
For people who build knowledge, connectors and agents, use Admin. In organizations managed by company login, Admins still can't let anyone in outside your identity provider.
| What | Owner | Admin | Editor | View |
|---|---|---|---|---|
| Create knowledge, upload and organize files | Yes | Yes | Yes | No |
| Download and export documents | Yes | Yes | Yes | Where allowed |
| Send documents to an AI agent | Yes | Yes | Yes | No |
| Connect, configure or delete connectors | Yes | Yes | No | No |
| Link, edit or delete agents | Yes | Yes | No | No |
| Invite members | Yes | Yes, except in managed organizations | No | No |
| Change member roles | Yes | Yes, except for people managed by company login | No | No |
| Create organization API keys | Yes | Yes, except in managed organizations | No | No |
| Change SSO settings | Yes | Yes, except in managed organizations | No | No |
| Security page, role templates, download verification | Yes | Yes | No | No |
| Transfer ownership or delete the organization | Yes | No | No | No |
"Managed organizations" means organizations with Access managed by company login turned on.
Troubleshooting
| What you see | Why | What to do |
|---|---|---|
| No organization yet after signing in | The person hasn't been given access to an organization | Managed by company login: check the role value names this organization's ID and the setting is on, then sign out and in. Otherwise, ask an Owner or Admin to invite you. |
| Role didn't change after updating the identity provider | Roles are applied once per sign-in | Sign out of Command, then sign in again |
| SSO not available after typing a work email | The email domain isn't confirmed | Use the identity provider tile or the SSO sign-in link, or confirm the domain |
| SSO is available on licensed plans | The organization has no license | Contact raia to activate a license |
| This identity provider is used by another organization | You're linking a company login without being an Owner of an organization that already uses it | Use Use the same company login as from an organization you own, or contact raia |
| Sign-in result domain not allowed | The organization uses Approved email domains and the person's domain isn't listed | Add the domain to Approved email domains |
| Sign-in result mailbox unconfirmed | The person hasn't entered the emailed code yet | Sign in again and enter the code |
| Access to this organization is managed by your company login when inviting | Only Owners can invite in managed organizations | Assign the person in your identity provider, or ask an Owner |
| A View user sees no data rooms | No default access level, or the data room was created after they joined | Set the default under Security → Roles, or add them to the data room |
| Certificate expires: unknown | The date wasn't read yet | Choose Check certificate on the Single sign-on card |
| Sorry, you have been blocked at the identity provider | Your identity provider's firewall blocks the visitor's region or network | Sign in from inside your network or region |
| The same person appears twice on the Team page | The email domain isn't confirmed, so the SSO account and the older account weren't merged | Confirm the domain, then sign in again with SSO |
Current limits
- Require SSO is coming soon. Until then, people can still sign in to an organization with a password or Google.
- No automatic removal. Removing someone in your identity provider stops their next SSO sign-in, but doesn't remove them from Command. Remove them on the Team page as part of offboarding.
- Owners are managed in Command. Your identity provider can grant View, Editor or Admin, never Owner.
- One identity provider per organization.
- New data rooms aren't shared automatically with people who joined as View; add them to each new data room.