Security
Single sign-on (SAML)
Let your organization sign in through Microsoft Entra ID, Okta, Google Workspace or another SAML identity provider.
Before you start
- Your organization is on Enterprise.
- You are an owner or admin of the organization.
- You can add a DNS record to your email domain.
- You can create an app in your identity provider, or someone who can is with you.
Step 1: Add and verify your domain
- Open your organization in the app and choose the Sign-in tab.
- Type your email domain, like
acme.com, and click Add domain. - At your DNS provider, add the TXT record the tab shows: name
_kymoscope-sso.acme.com, valuekymoscope-sso=followed by your token. Use the copy buttons. Keep the record while single sign-on is on. - Click Verify. DNS changes can take a few minutes; if the record isn't found yet, try again shortly.
Step 2: Create the SAML app in your identity provider
Once the domain is verified, the tab shows the Entity ID and the ACS URL. Your identity provider needs both, and an attribute named email that carries the person's email address. When it's done, copy the app's metadata URL, or download its metadata XML.
Microsoft Entra ID
- In Enterprise applications, choose New application, then Create your own application (one not in the gallery).
- In the app's single sign-on section, choose SAML.
- Paste the Entity ID into Identifier (Entity ID) and the ACS URL into Reply URL.
- Under Attributes & Claims, add a claim named
emailwith the source attributeuser.mail. - Copy the App Federation Metadata Url.
Okta
- In Applications, choose Create App Integration, then SAML 2.0.
- Paste the ACS URL into Single sign-on URL and the Entity ID into Audience URI.
- Add an attribute statement named
emailwith the valueuser.email. - When the app is created, copy the Metadata URL from its Sign On tab.
Google Workspace
- In the Admin console, under Apps, Web and mobile apps, choose Add custom SAML app.
- Download the identity provider metadata. Google gives a file, not a URL: you'll paste its XML in step 3.
- Paste the ACS URL into ACS URL and the Entity ID into Entity ID; set Name ID to the email.
- In the attribute mapping, map Primary email to
email. - Turn the app on for the people who will use it.
Whichever provider you use, assign the people or groups who will sign in to Kymoscope to the app.
Step 3: Save and test
- Back in the Sign-in tab, paste the metadata URL (it must start with https), or click Paste XML instead and paste the metadata XML.
- Click Save. The tab says Identity provider saved.
- In a private window, open the login page, click Sign in with SSO, enter your work email and click Continue with SSO. Your identity provider asks you to sign in, then brings you back to Kymoscope.
Step 4: Require SSO (optional)
Require SSO is off by default. When you turn it on, everyone except owners (admins too) can open the organization's projects only after signing in with SSO in the last 24 hours. So when you remove someone in your identity provider, they lose access to the projects within a day. They can still see the organization and its project names, but not open a project's data.
Owners can always open the projects with their own account, so the organization keeps a way in if the identity provider is down.
What happens to existing accounts
- Single sign-on gives each person a new Kymoscope account. The first time a member or admin signs in with SSO, their organization role and projects move from their existing account with the same email to the new one, with their workbooks, recordings and the other items they created in those projects (live streams stay with the old account). API keys the old account made in the organization's projects are revoked: create new ones from the new account. Their personal data stays on the old account.
- Owners keep their own account: it is their way in if the identity provider is down.
- In end-to-end encrypted projects, the new account's browser is approved like any new browser, and the account sets up its own key.
- People of your domain who aren't members get an account when they sign in with SSO, but no access to the organization until they are invited.
Turning SSO off
Clicking Turn off SSO in the Sign-in tab removes the identity provider and turns Require SSO off. People who only sign in with SSO can't sign in until it is turned on again. Set up again, it gives each person a new account once more, and their role and projects move to it. The domain stays verified. An organization can't be deleted while single sign-on is on.
Recorded in the audit log
Adding and verifying the domain, setting up and turning off single sign-on, turning Require SSO on or off, and each account moved on a first SSO sign-in appear in the organization's audit log.
Troubleshooting
| You see | What to do |
|---|---|
| The TXT record wasn’t found yet. | Check the record’s name and value at your DNS provider, wait a few minutes and click Verify again. |
| Single sign-on isn’t set up for acme.com. | The identity provider isn’t saved for that domain yet, or single sign-on was turned off. An owner or admin finishes step 3. |
| The identity provider couldn’t be saved. | The tab shows the identity provider’s own error under it. Check the metadata URL or XML and save again. |