Skip to content

Set up single sign-on (SSO)

Let your team sign in to the Occulights platform with the company account they already use, from Microsoft Entra ID or Google Workspace. They enter their email, click Continue with SSO and sign in with Microsoft or Google. They don’t need a separate Occulights password.

You need:

  • An Occulights admin account for your company
  • Admin rights at your identity provider: in Microsoft Entra ID, a role that can create app registrations; in Google Workspace, access to the Google Cloud console for your organisation
  • Your company’s email domain registered in Occulights, for example yourcompany.com. You can use SSO for that domain and its subdomains. To change the domain, contact support.
  • Your users invited to Occulights. SSO signs in people who already have an Occulights user. It doesn’t create new users, so invite everyone who needs access under Users in Occulights first.

Step 1: Register Occulights with your identity provider

Section titled “Step 1: Register Occulights with your identity provider”

You give your identity provider one address, the redirect URI. After signing in, your users are sent back to Occulights through it:

https://api.occulights.com/api/v1/auth/sso/callback
  1. Sign in to the Microsoft Entra admin center and go to App registrations > New registration.
  2. Fill in Register an application:
    • Name: for example Occulights
    • Supported account types: Accounts in this organizational directory only (Single tenant)
    • Redirect URI: choose Web and paste the redirect URI above
  3. Click Register.
  4. On the app’s Overview page, copy the Application (client) ID and the Directory (tenant) ID. You need both in step 2.
  5. Go to Certificates & secrets > Client secrets > New client secret. Add a description, choose when it expires and click Add.
  6. Copy the secret’s Value right away. Entra shows it only once. Copy the Value, not the Secret ID.
  1. Sign in to Occulights at app.occulights.com and go to Single Sign-On (app.occulights.com/admin/sso).
  2. In Identity provider, choose Microsoft Entra ID or Google Workspace.
  3. Fill in the details from step 1:
    • Microsoft Entra ID: paste the Directory (tenant) ID and the Application (client) ID.
    • Google Workspace: paste the Client ID.
  4. Paste the secret into Client secret.
  5. Check Email domains. It starts with your company’s domain. Add any other domains your team signs in with, such as a subdomain.
  6. Turn on Sign in with SSO and click Save.

Occulights checks that it can reach your identity provider when you save. If that fails, check the tenant ID or issuer URL.

  1. Sign out of Occulights, or open a private browser window.
  2. Go to app.occulights.com, enter your work email and click Continue.
  3. Click Continue with SSO and sign in with Microsoft or Google.
  4. You land in the Occulights platform, signed in.
  • Email first. Everyone with an email in your SSO domains sees Continue with SSO after entering their email. Others see the password field as before.
  • Invited users only. Someone who signs in with your company account but has no Occulights user gets a message asking them to ask their administrator for an invite.
  • One account per person. The first time someone signs in with SSO, Occulights links their Microsoft or Google account to their Occulights user. Later sign-ins use that link, so changing their email at the identity provider doesn’t move them to another user.
  • Passwords still work. Users who have a password can still click Use my password instead. API tokens, for example for Cisco Spaces, keep working too.
  • Sessions last 24 hours, the same as with a password. Signing out of Microsoft or Google doesn’t sign people out of Occulights.
  • New client secret: paste it into Client secret and click Save. To keep the current secret, leave the field empty. The field shows Set when a secret is saved.
  • Pause SSO: turn off Sign in with SSO and click Save. Your settings are kept.
  • Remove SSO: click Remove and confirm. Your team signs in with passwords again.
Message or problem What to check
“There’s no Occulights user for it yet” Invite the person in Occulights with the same email they use at Microsoft or Google.
“Your identity provider refused the sign-in” In Entra or Google, check that the redirect URI matches exactly, that the client secret hasn’t expired, and that the person is allowed to use the app.
“The sign-in took too long or was opened in another browser” Start again from app.occulights.com, in the same browser, and finish within 10 minutes.
“Single sign-on failed” Check the client ID and client secret in Occulights. If someone was moved to another account at the identity provider, contact support to unlink their old one.
Continue with SSO doesn’t appear Check that Sign in with SSO is on and that the person’s email domain is in Email domains.
Saving fails with a domain error You can only use your company’s own domain and its subdomains. Each domain can belong to one company only.
Google: personal Gmail accounts can’t sign in That’s expected. Only accounts in your Google Workspace can sign in.

Still stuck? Contact support.