Skip to content

Reference

SSO and two-factor authentication

Sign in through your identity provider (OIDC or SAML), require SSO or two-factor for your whole team, and protect your own account with an authenticator app.

On this page

Two-factor authentication for your own account is on every plan. Single sign-on (SSO) and organization-wide enforcement are part of the Business plan. Owners set them up under Settings › Security; admins can see the settings but not change them.

Two-factor authentication

Under Settings › Profile, choose Set up two-factor:

  1. Scan the QR code with an authenticator app (1Password, Google Authenticator, Authy, Microsoft Authenticator…), or type the key shown under it.
  2. Enter the 6-digit code the app shows. Two-factor is now on.
  3. Save the 10 recovery codes. Each one signs you in once if you lose your phone, and they aren't shown again. Download them or copy them to a password manager.

From then on, signing in with your email and password asks for a code from the app (or a recovery code). A code works once, and you get 5 tries every 5 minutes before you have to wait.

  • New recovery codes: New recovery codes replaces all of them; the old ones stop working.
  • Turn it off: Turn off asks for a current code or a recovery code, so someone who only has your open session can't remove it.
  • Lost your phone and your recovery codes? Ask an owner of your organization to reset your two-factor. If you're an owner and there's no one who can, contact support from your account's email address.

Two-factor here protects password sign-in. If you sign in with Google, GitHub or SSO, your provider's own two-factor settings protect your account.

Owners resetting a member's two-factor

On every plan, an owner can remove the two-factor of a member who lost their authenticator and their recovery codes: on Team, choose Reset two-factor next to the member.

  • You need two-factor on your own account, and you confirm with a current code from your authenticator app (not a recovery code).
  • Give a reason. It's recorded in the audit log and sent to the member.
  • The member's authenticator and recovery codes stop working, they're signed out everywhere, and they get an email saying who reset it, when and why.
  • If your organization requires two-factor, they set it up again right after their password at their next sign-in. Otherwise they can turn it back on from their profile.
  • Owners can't reset their own two-factor this way (use Turn off under Profile).
  • An owner's two-factor can be reset only by the only other owner. With three or more owners, no single owner can reset another owner's; contact support.

Single sign-on

With SSO, your team signs in with Sign in with SSO on the sign-in page: they enter their work email, and Channlize sends them to your identity provider (IdP). Channlize supports:

  • OpenID Connect (OIDC), recommended: Okta, Microsoft Entra ID, Google Workspace, Auth0, OneLogin, Keycloak and others. Channlize uses the authorization code flow with PKCE and checks the ID token's signature, issuer, audience, expiry and nonce.
  • SAML 2.0, started from Channlize (SP-initiated). The IdP must sign the assertion. Sign-ins started from the IdP's dashboard (IdP-initiated) aren't accepted.

1. Create the app at your IdP

Create a web app (OIDC) or a SAML app in your IdP, and copy the values shown under Settings › Security › Register these at your identity provider:

OIDCSAML
CallbackRedirect URI https://api.channlize.com/api/auth/sso/oidc/callbackACS URL https://api.channlize.com/api/auth/sso/saml/acs (HTTP-POST)
Identifier—Entity ID: the metadata URL shown in Settings
Scopes or attributesopenid email profileNameID format email address (or an email attribute); firstName and lastName are optional
Grant typeAuthorization code—

Assign the people (or groups) who should have access in the IdP.

2. Connect it in Channlize

Under Settings › Security, pick the protocol and fill in:

  • OIDC: the issuer URL (Channlize reads /.well-known/openid-configuration from it), the client ID and the client secret. The secret is stored encrypted and never shown again; leave the field empty later to keep it.
  • SAML: the IdP's SSO URL, its entity ID (issuer) and its signing certificate (PEM).

Save, then choose Test connection. For OIDC it checks the discovery document, the endpoints, PKCE support and the signing keys; for SAML it checks the URL and the certificate. A test doesn't sign anyone in, so a wrong client secret only shows at the first SSO sign-in: try it yourself before you enforce SSO.

3. Verify your email domains

Add each email domain your team uses (acme.com) under Email domains and publish the TXT record shown, the same way as for widget domains:

Text
_channlize-verify.acme.com  TXT  "channlize-verification=<token>"

Then choose Verify. Only verified domains route sign-ins to your IdP, and a domain can be verified by one organization only. Shared mail providers (gmail.com, outlook.com…) can't be added.

4. Turn it on

Turn on Allow SSO sign-in. Members on your verified domains can now use Sign in with SSO. Their email is marked verified.

Create accounts on first sign-in (just-in-time provisioning) lets someone on a verified domain who has no Channlize account yet join your organization the first time they sign in with SSO, as an Agent (or Viewer, if you pick it). When it's off, only people you invite can sign in: an invited person signs in with SSO and gets the role from their invitation. The email your IdP sends must be on one of your verified domains, and someone who already has an account in another Channlize organization can't join.

Requiring SSO or two-factor

Under Settings › Security › Enforcement, an owner can require either one for the whole organization.

Require SSO needs SSO turned on, a passing connection test and at least one verified domain. Once it's on:

  • Members other than owners can't sign in with a password, Google or GitHub; they get a message to use Sign in with SSO. They're signed out of open sessions and sign in again with SSO.
  • Nobody can create a new Channlize account with Google or GitHub on your verified domains, and invitations are accepted by signing in with SSO.
  • Members whose email isn't on a verified domain can't sign in at all; Settings warns you how many there are before you turn it on.
  • Owners keep their password (and Google or GitHub) as a break-glass sign-in, so a broken IdP can't lock you out. Every owner password sign-in while SSO is required is recorded in the audit log, and still asks for the owner's two-factor code.

Require two-factor makes every password sign-in ask for a code. Turn on two-factor for your own account first. Members who sign in with a password and haven't set it up are signed out and, at their next sign-in, set it up right after their password before they get in. They can't turn it off while it's required.

If your organization leaves the Business plan, SSO sign-in and both requirements stop applying (members sign in with their password again, with their own two-factor if they set it up). Your settings are kept and apply again if you upgrade.

Audit log

Channlize records SSO configuration changes, domain changes, turning either requirement on or off, two-factor being turned on or off, owners resetting a member's two-factor (with the reason), new recovery codes, recovery-code sign-ins and break-glass owner sign-ins, with who did it and when. It also records changes to members (role, name, email, deactivation, password changes, sessions signed out), organization settings and API keys.

Owners and admins read it under Settings › Security › Audit log, on every plan:

  • Filter by actor, action, what the entry is about, target member and dates; older entries load as you scroll.
  • Export CSV downloads up to 10,000 entries with the same filters; narrow the dates for more.
  • How far back it goes is your plan's log history (7 days on Free, up to 365 on Business). Older entries are kept and show again if you upgrade.
  • Only a fixed list of fields is shown for each kind of entry. Passwords, password hashes, tokens, API key hashes, client secrets, certificates and codes are never shown or exported. Changes to members, the organization and API keys are recorded by the database itself, so they don't say who made them.

Agent activity (questions, approvals, policies) has its own agents audit log.

Troubleshooting

MessageWhat to check
Single sign-on isn't set up for this email domainThe domain isn't verified yet, SSO sign-in is off, or the organization isn't on Business.
You don't have an account in this organization yetInvite the person, or turn on Create accounts on first sign-in.
Your identity provider signed you in with an email that isn't on this organization's domainsThe IdP sent a different email than the one typed (for example a personal alias). Fix the user's email in the IdP or verify that domain too.
Your identity provider didn't send a verified email addressOIDC: add the email scope and claim. Without an email claim, Channlize uses preferred_username or upn (Microsoft Entra ID) only when it's an address on one of your verified domains. SAML: send the email as the NameID or an email attribute.
Your identity provider's answer couldn't be verifiedOIDC: check the issuer URL, the client ID and secret, and the redirect URI. SAML: check the certificate (it changes when the IdP rotates keys), the entity ID and the ACS URL.
This sign-in was started in another browserStart again from the same browser; links from the IdP dashboard don't work (SP-initiated only).