Skip to content

Identity, SSO & MFA

CyberArmor.AI secures portal access with enterprise SSO and multi-factor authentication, and enriches every recorded event with directory identity so audit trails, action graphs, telemetry, and incidents resolve to a real person.

Single sign-on (OIDC)

  • generic OIDC Authorization Code flow with PKCE, available alongside email-code login
  • configuration is stored tenant-scoped; the client secret is write-only and never returned The signed ID token identifies the user. By default the token must carry a verified email address, or match the issuer and subject saved after an earlier verified sign-in. The address entered on the sign-in page must match the account the token identifies.

Both tenant settings below default to off. Enable one only when the identity provider controls the address in that claim and users cannot change it.

Setting When to enable
accept_email_without_email_verified The provider asserts a verified email but omits the email_verified claim entirely.
preferred_username_is_verified_email The provider guarantees that preferred_username is a verified address, such as a directory-managed UPN in a single-tenant Entra ID app.

Just-in-time provisioning

Invite users before they sign in with SSO. The current sign-in flow requires an existing account even when just-in-time provisioning is enabled.

Configuration

Endpoint Audience
GET/PUT /customer/sso tenant admin (self-service)
GET/PUT /tenant-sso/{tenant_id} platform admin (on a tenant's behalf)

Register in the IdP the callback URL that the SSO settings screen shows. Both GET routes return it as callback_url: the Redirect URI override if one is set, otherwise https://<configured portal address>/auth/sso/callback (default_callback_url). It is the configured portal address, not necessarily the address the settings page is open on. A server serving an old portal name beside a new one sends the new one.

Multi-factor authentication

  • RFC 6238 TOTP with authenticator-app enrollment and one-time backup codes
  • per-user enrollment with a per-tenant "MFA required" flag
  • TOTP secrets are encrypted at rest

Directory identity enrichment

The identity service enriches events with directory context from Microsoft Entra ID, Okta, Ping Identity, and AWS IAM Identity Center. Enrichment resolves an identifier to a display name, department, and group membership.

Each lookup goes only to the requesting tenant's own directory. A directory configured on the identity service through environment variables belongs to exactly one tenant, named by IDENTITY_PLATFORM_PROVIDERS_TENANT; the service refuses to start if a directory is configured without it, and a lookup for any other tenant answers "no provider for this tenant". The control plane's cache is also keyed by (tenant_id, identifier). A directory that cannot be reached yields no enrichment rather than an empty group list.

Enrichment is applied to:

  • audit events and the human/agent action graph
  • telemetry records
  • incidents and risk events

Validation checklist

  • PUT /customer/sso stores an OIDC config and never echoes the client secret
  • SSO requires a trusted email claim or an existing issuer and subject binding
  • GET /customer/me/totp/status reflects per-user MFA enrollment
  • an audit or incident record shows a resolved user name and department, not a bare ID