Skip to main content

Where to find it

Settings > Security (/dashboard/settings/security). Your widget key (ab_live_...) is managed on Setup > Install, not here. This page is for account security and identity verification only.

Two-factor authentication

Halo supports TOTP-based 2FA (Authenticator app, 1Password, Authy, Google Authenticator, etc.) with single-use recovery codes for fallback.

Enabling 2FA on your own account

Open Settings > Security and click Enable 2FA:
  1. Scan the QR code with your authenticator app (or copy the secret manually)
  2. Enter the 6-digit code your app shows
  3. Save the 10 recovery codes that are shown once and never shown again
The setup dialog won’t let you close it until you confirm you’ve saved your recovery codes.

Signing in with 2FA

After password (or Google) sign-in we route you to a challenge screen. Enter the 6-digit code from your authenticator app to finish signing in.

Lost your authenticator?

Click Use a recovery code on the challenge screen. Each recovery code works exactly once. Using a recovery code disables your current authenticator, and we send you straight to the security page to set up a new one. This matches the standard GitHub/Google flow and means a stolen device’s TOTP secret is invalidated as soon as the legitimate user signs in via recovery. You can regenerate a fresh batch of 10 codes at any time from the Recovery codes button. Generating new codes invalidates the old set.

Disabling 2FA

Click Disable under your 2FA status. We require an AAL2 session (i.e. you must have completed a TOTP challenge during this sign-in) so a stolen-password attacker can’t quietly turn 2FA off. Disabling deletes your factor and any remaining recovery codes.

Org-wide enforcement

Admins can flip Require 2FA for everyone. When on:
  • Any teammate without 2FA is blocked from the dashboard until they enroll
  • They land directly on the security page with the setup dialog open
  • The MFA challenge is required on every fresh sign-in for already-enrolled teammates
Stored as two_factor_required: true on teams.settings.security. The middleware caches the flag for up to 5 minutes, so policy changes propagate within that window.

Session timeout

Turn on Sign out after inactivity and set Minutes of inactivity for inactive teammates. After N minutes without activity, they’re logged out and must sign in again. Range: 5–1440 minutes. Saved on blur.

Identity verification

Your widget key (ab_live_...) is public: it ships in your site’s HTML. So when your site tells Halo who a visitor is (identify(), or a user_id on an API call), that claim has to be proven, or anyone holding the key could read another user’s chat history and tickets. Halo proves it with an identity secret (ha_secret_...). Your backend signs a short-lived JWT per logged-in user with the secret, the widget sends it along, and Halo verifies the signature before returning anything scoped to that user. Verification is always on for identified requests. There is no mode to pick: Set it up on this page:
  1. Generate identity secret (shown once; store it server-side only, as HALOAGENTS_SECRET_KEY)
  2. Sign a userToken for each logged-in user on your backend. Code samples for Node, Python, Ruby, PHP and Go are on Setup > Install
  3. Watch production health here or on Setup > Install
See Identity Verification for JWT minting examples and SDK token refresh.

Production health

Once your widget is deployed, this page tracks identity checks from real production traffic. Open Identity verification to see it; the section starts closed once a secret exists.
  • Healthy: verified requests are succeeding. The card shows the time of the last verified request.
  • No verified request yet: the secret exists but no signed token has arrived. Identified visitors are being rejected until your backend signs tokens.
  • Warning / failing: missing, expired, or invalid tokens are reaching the API. The card names the most common cause (expired JWT, missing token, signature mismatch, and so on).
Test the integration in staging with a real signed token before shipping to production. Rotating the secret (on Setup > Install) invalidates every live token at once, so update your backend in the same deploy.

Widget key vs identity secret

Copy and regenerate your widget key on Setup > Install.

What’s not here

A few things you might expect that aren’t on this page:
  • Widget key — Setup > Install
  • Server-only REST API keys — coming in a future release; this page will host them when available
  • SSO / SAML — not exposed in this UI today
  • Audit logs — view-only audit logs aren’t surfaced in the dashboard
  • Active session list — not currently available
If you need any of these for compliance, contact your account manager.

Where to go next

Install the widget

Copy your widget key and install snippet.

Identity Verification

Use the identity secret to prevent user impersonation.