Skip to content
Open dashboard (opens in a new tab)

Organization and access

Enterprise SSO

With enterprise SSO, your people sign in to NightVision through your own identity provider, and your directory decides who is a member and which groups they are in. NightVision uses WorkOS for this, so it works with any provider that supports SAML or OIDC, including Okta, Microsoft Entra ID, Google Workspace, PingFederate and Auth0.

There are three parts. You can set up SSO alone, or add directory sync as well.

Part What it does
Domain verification Proves your company owns its email domain. Do this first.
Single sign-on People sign in through your identity provider instead of a NightVision password.
Directory sync Your directory adds and removes NightVision members and keeps your directory groups mirrored in NightVision.
  1. Email support@nightviz.ai with the address of the IT admin who will do the setup.
  2. NightVision prepares your organization and sends that admin a link to the setup portal.

The admin needs access to your DNS settings and to your identity provider’s admin console.

The link opens a setup portal hosted by WorkOS. It lists the three tasks and marks each one Done as you finish it.

The setup portal titled Set up your NightVision account, with three tasks: Configure Single Sign-On, Configure Directory Sync and Verify your Domain.
The setup portal. Start with Verify your Domain.

Verify your domain before you configure SSO or directory sync. Repeat these steps for each domain your people sign in with.

  1. Select Verify your Domain and enter the domain.

    The Enter your organization domain field in the setup portal.
    Enter the domain your people use in their email addresses.
  2. Add the TXT record the portal shows to your domain’s DNS settings.

    The portal’s DNS instructions: go to your domain DNS settings, then add a new TXT record with the name and content shown.
    Copy the record name and content into a new TXT record at your DNS provider.
  3. Wait for the portal to detect the record. This usually takes under a minute for a new record.

    The Await verification step showing the domain as verified, with a Done button.
    The domain is verified. Select Done.
  1. Select Configure Single Sign-On and choose your identity provider. If yours is not listed, choose Custom SAML or Custom OIDC.

    The Select your identity provider list with Okta, Entra ID, Google Workspace, ADP, Auth0 and CAS, and Custom SAML and Custom OIDC below.
    Choose your identity provider, or a custom SAML or OIDC connection.
  2. Follow the steps the portal shows for your provider. They walk you through creating the application in your identity provider, mapping attributes, assigning users and testing the connection.

    The portal’s Okta instructions: six numbered steps on the left, and Step 1, Create SAML Integration, with screenshots on the right.
    The portal gives step-by-step instructions for the provider you chose. This example is Okta.
  3. When the test passes, the portal marks Configure Single Sign-On as Done.

    The setup portal with Configure Single Sign-On marked Done.
    Single sign-on is configured.

Directory sync is optional. Turn it on when you want your directory to add and remove NightVision members and to keep your groups in step.

  1. Select Configure Directory Sync and choose your directory provider. If yours is not listed, choose Custom SCIM.

    The Select your directory provider list with Okta, Entra ID, Google Workspace, CyberArk, JumpCloud and OneLogin, and Custom SCIM below.
    Choose your directory provider, or Custom SCIM.
  2. Follow the steps the portal shows. Assign the people and push the groups that should exist in NightVision.

    The portal’s Okta directory instructions: six numbered steps, and Step 1, Add Provisioning to SAML Application.
    Directory sync instructions for the provider you chose. This example is Okta.
  3. Wait while the directory connects. The first sync can take a few minutes. You can close the tab and come back.

    A progress screen titled Connecting your directory to NightVision.
    The first sync can take a few minutes.
  4. The portal marks Configure Directory Sync as Done.

    The setup portal with Configure Single Sign-On and Configure Directory Sync both marked Done.
    SSO and directory sync are both configured.

If a step fails, email support@nightviz.ai.

  1. On the NightVision sign-in page, the person chooses single sign-on. They can also go straight to https://app.nightviz.ai/sso.
  2. They enter their work email and select Continue with Single Sign-On.
  3. NightVision sends them to your identity provider. After they sign in there, they land in the dashboard.

If your organization has no members yet, the first person to sign in through SSO from a verified domain becomes its Org Admin. Everyone after that must already be a member, added in Settings > Members or by directory sync.

nightvision login in the CLI opens the same sign-in in a browser, so SSO users sign in to the CLI the same way.

Message What it means
Single sign-on is not enabled for your organization. The person belongs to an organization, but none of theirs uses SSO. They sign in with their email instead.
We could not find an active organization membership for that email address. The person is not a member yet. Add them, or assign them in your directory.
We could not find an organization for that email domain. The domain is not verified for any organization. Check the domain verification step.
You do not have access to this organization. The person signed in at your identity provider but is not a member of the NightVision organization.
Your account has been deactivated. The person was removed or deactivated in your directory.

Once directory sync is on, your identity provider decides who is a member:

  • A person you assign to NightVision in your directory becomes a member. A person you remove or deactivate there loses access.
  • A member who arrives this way, with no role chosen for them beforehand, holds the Scan Operator role across the organization. To give them more in a project, grant a role to one of their groups. See Directory groups.
  • On Settings > Members, the add, edit and remove controls are turned off, and a note says members are managed through the identity provider.
The Members list with a note that members cannot be added or edited by hand because the organization manages them through its identity provider.
With directory sync on, change membership in your identity provider.

If you disconnect the directory, the controls on Settings > Members work again.

Every group you push from your directory appears in Settings > Members > Groups with the source Directory.

The Groups tab with three directory groups and one manual group. One directory group is marked Inactive.
Directory groups sit beside manual groups. Their names and members come from your identity provider.

Your identity provider decides who is in a directory group. NightVision decides what each group can reach.

  • Give a directory group access. Select Members and access on its row and grant it a role on a project, the same way as a manual group. See Give a group a role on a project.
  • Change who is in it. Add or remove people in your identity provider. A person shows up in the group here after they have signed in to NightVision at least once.
  • Rename or delete it. Do this in your identity provider. The Rename and Delete actions are disabled for directory groups.

A group marked Inactive no longer exists in your directory, so it grants no access. NightVision keeps its project grants, and they apply again if the group comes back. The same happens to every directory group if you disconnect the directory.

You can still create manual groups alongside directory groups, for example for contractors who are not in your directory.