Skip to content

SSO Management

TrueWatch SaaS workspaces support single sign-on (SSO) configured through SAML 2.0 or OIDC. After an administrator adds an enterprise identity provider (IdP) to a workspace, employees can sign in with their corporate accounts. For private deployment, see OIDC access for Deployment Plan or LDAP single sign-on for Deployment Plan.

Quick Start

What you want to do Where to start
Configure SSO for a workspace Choose a protocol and integration example
Sign in with a corporate account Employee single sign-on
Cannot find the sign-in entry, authorization errors, or cannot access the workspace FAQ

Configuration Entry

In the target workspace, go to Management > Member Management > SSO Management > User SSO. You need SSO management permissions for the target workspace, and permissions to create or maintain applications in the identity provider. Prepare an employee test account for verification.

Choose a Protocol and Integration Example

Choose the guide based on the protocol enabled for the enterprise application. If a matching identity provider example is available, you can follow it directly.

Protocol General configuration Integration examples
SAML 2.0 SAML configuration Alibaba Cloud IDaaS, Authing, Microsoft Entra ID, AWS IAM Identity Center, Okta, Keycloak
OIDC / OAuth 2.0 OIDC configuration Lark

Employee Single Sign-On

  1. Open the TrueWatch login page for your site and select Single Sign-On.
  2. Enter your full corporate email address and click Get Sign-In URL.
  3. Select the identity provider configured by your enterprise, click Authenticate/Sign In, and complete sign-in on the enterprise authentication page.
  4. After returning to TrueWatch, select an authorized workspace.

On first sign-in, the system looks up the sign-in entry based on the email address you enter and the IdP's access restrictions. If an SSO account already exists, the system preferentially uses the full email address to find the identity provider associated with that account. If you cannot find the IdP in the list, check Troubleshoot the sign-in entry.

Identity Providers and Accounts

  • By default, a workspace can be configured with up to 10 SAML identity providers and 10 OIDC identity providers.
  • TrueWatch identifies SSO accounts by corporate email address and identity provider. When an employee signs in through an IdP for the first time and meets the access conditions, the system creates the corresponding account. If you change the IdP, a new SSO account may be generated even if the email address is the same. Before migration, use a test account to verify roles and workspace permissions.
  • After signing in, employees can access workspaces that use the same IdP and for which they are authorized. Each workspace manages member permissions and role mapping separately.

Role Mapping

When you create an IdP, you can set a default role for employees who join the workspace for the first time. To assign roles by department or user group, see Role Mapping, and use a test account to confirm role matching and workspace access results.

Manage SSO Configuration

List Actions

Action Where to perform it
Edit In the User SSO list, find the corresponding IdP and click Edit. You can modify the configuration and view the service provider details for SAML or the callback URL for OIDC.
Enable or disable Toggle the enabled status in the list item of the corresponding IdP. After it is disabled, employees cannot use this IdP to access the corresponding workspace.
Delete Delete the corresponding IdP in its list item. Before doing so, confirm that affected members already have an available sign-in entry.
Export In the User SSO list, find the corresponding IdP and click Export to download the JSON configuration file.
Import In the User SSO list, click Import and select the exported JSON file. After importing, check the roles, access restrictions, and callback address of the target workspace.

Upload the connection configuration template for non-standard OIDC when you add an identity provider.

View SSO Members

Click the member count displayed in the IdP list item to view the workspace members associated with that IdP.

Notification Mechanism

When an IdP configuration is created, edited, deleted, enabled, or disabled, the workspace owner and administrators are notified.

Glossary

Term Meaning
Identity provider (IdP) A platform that verifies employees' enterprise identities, such as Azure AD, Okta, Keycloak, Lark, or self-hosted LDAP.
Service provider (SP) In SAML integration, TrueWatch acts as the application that receives identity authentication results.
Entity ID Entity ID, a unique value in SAML that identifies the TrueWatch SP.
Assertion URL ACS URL, the address to which the IdP submits authentication results to TrueWatch after completing SAML authentication.
Callback URL The address to which the IdP sends the browser back to TrueWatch after completing OIDC authentication.