SSO (OIDC) & MFA (TOTP)
Security and identity governance in DataSquares provide enterprise single sign-on (SSO) via OpenID Connect (OIDC) alongside account-level Multi-Factor Authentication (MFA) via Time-based One-Time Passwords (TOTP).
Single sign-on (OIDC)
Section titled “Single sign-on (OIDC)”DataSquares integrates with standard OpenID Connect identity providers, including:
- Microsoft Entra ID (Azure AD)
- Okta
- Google Workspace
- Auth0
- Keycloak / PingFederate
Configuration options
Section titled “Configuration options”In Admin → Settings �� Single sign-on (/admin/settings):
| Setting | Description |
|---|---|
| SSO enabled | Master switch activating SSO login for the workspace. |
| Issuer URL | The IdP’s OIDC discovery endpoint (e.g. https://login.microsoftonline.com/{tenant}/v2.0 or https://{tenant}.okta.com). |
| Client ID | The unique Application/Client ID generated in your IdP application registration. |
| Client secret | The application client secret. Write-only: leaving blank during edits preserves the existing secret. |
| Auto-provision email domains | Comma-separated list of approved email domains (e.g. company.com, subsidiary.com). |
| Auto-provision new users | When enabled, users authenticating via SSO for the first time are automatically provisioned with the default Viewer workspace role. |
SSO sign-in flow
Section titled “SSO sign-in flow”- On the DataSquares login screen, users select Sign in with SSO.
- Entering their email address initiates a realm lookup based on the domain suffix.
- Users are redirected to your corporate identity provider for authentication.
- Upon successful authentication, users are redirected back to DataSquares with an authenticated session.
Two-factor authentication (TOTP)
Section titled “Two-factor authentication (TOTP)”Multi-factor authentication (MFA) is configured per account and supports any RFC 6238 TOTP authenticator application (such as 1Password, Google Authenticator, Microsoft Authenticator, or Apple Keychain).
Setup and enrollment
Section titled “Setup and enrollment”- Open the user profile avatar menu and choose Two-factor authentication.
- Click Set up two-factor to display a cryptographically signed QR code (alongside a manual base32 setup secret).
- Scan the code into your authenticator app.
- Enter the 6-digit TOTP code and click Verify and enable. The factor activates only after a valid code proves successful enrollment.
Single-use recovery codes
Section titled “Single-use recovery codes”Upon enabling TOTP, DataSquares generates 10 single-use emergency recovery codes:
- Store safely: Copy and store these codes in an offline password manager or secure vault. They provide emergency access if your authenticator device is lost or inaccessible.
- One-way hashing: Recovery codes are stored strictly as SHA-256 hashes in the database. Support and administrators cannot view or recover these codes.
- Format flexibility: Codes are hyphen- and case-insensitive when entered manually.
- Audit logging: Authenticating via a recovery code logs an immediate security audit record in the Audit Log.
- Regeneration: Users can regenerate a fresh set of 10 codes at any time from their security settings by verifying their current TOTP code.
Sign-in experience with MFA
Section titled “Sign-in experience with MFA”- Enter your primary email and password (or complete SSO sign-in).
- Enter the current 6-digit TOTP code from your authenticator app (valid within a rolling time window).
- Alternative: If the authenticator is unavailable, click Use a recovery code and enter one of your 10 stored recovery codes.
Related
Section titled “Related”- Users, roles & invites — user directory and role-based permissions.
- Workspace settings & operations — organization settings and API keys.
- Audit log — tracking SSO logins and recovery code activations.