Virtual Assistant (Bot Authentication)

The Virtual Assistant page under Bot Authentication controls how end users are authenticated when they open your bot on the web channel (the standalone Web App and the embeddable chat widget). From this single screen you choose an authentication method, restrict access by email domain, wire up one or many identity providers (IDPs), and set session behaviour.

📘

Where to find it

Unified Dashboard → Settings → Global Settings → Authentication (Bot Authentication) → Virtual Assistant

The Mobile/Desktop App channel has its own, near-identical page. This document covers the web Virtual Assistant channel specifically.

Settings on this page take effect on the next end-user login.


Availability & permissions

The page is visible only when all of the following are true:

  • Config Manager is enabled for the workspace (otherwise the entire Authentication group is hidden).
  • The signed-in dashboard user holds the Authentication permission.
  • The workspace is not on a Trial license — Authentication is hidden for trial workspaces.

If the page is missing for a user, check these three gates first.


Choosing an authentication method

The first control on the page is Select authentication method, which sets the primary strategy for the web channel. The rest of the form changes based on this choice.

MethodUse it when
OTPUsers verify with a one-time password sent to email or (optionally) phone.
SSOUsers authenticate through a SAML identity provider. Supports single or multiple IDPs.
OAuthUsers authenticate through an OAuth provider (Azure AD).
CustomThe portal embedding the VA already holds a session; a validation expression confirms it.

Add allowed domains appears for every method. This is the whitelist of email domains permitted to sign in (for example, company.com). Enter one or more domains; users outside this list are normally denied at the domain gate. (Domain behaviour can be softened by access policies — see Relationship with General Settings.)


SSO

Selecting SSO reveals Select SSO type, with two options:

  • Single IDP SSO — the bot points at one SAML application for all users.
  • Multiple IDP SSO — the bot routes users to different SAML applications based on their email domain.

SAML applications shown in the dropdowns are the ones already registered under Bot Authentication → SAML Apps.

Single IDP SSO

Pick one application in Select SAML App. Every user who passes the allowed-domains check is sent to that provider's sign-in page.

Multiple IDP SSO

This is the configuration for organisations that use different identity providers for different regions, business units, or acquired companies — for example, Okta for the US and Azure AD for the EU.

When you choose Multiple IDP SSO, a repeatable mapping table appears. Add one row per identity provider:

FieldMeaning
Select SAML AppThe SAML application users matching this row should be routed to.
Add allowed domains for SAML appOne or more email domains that map to this application (e.g. us.company.com, global.company.com).
Set as default appMarks this row as the fallback for any domain that does not match a specific mapping.

Use Add more to add further providers.

👍

Set exactly one default

Designate one row as the default app. Any user whose email domain isn't explicitly listed in a mapping is routed to the default provider. Without a default, unmatched users have nowhere to go.

How routing works at login

Multi-IDP resolution happens by email domain:

  1. Because more than one IDP is possible, the Web App presents an email-entry step first (rather than jumping straight to a provider).
  2. The system reads the domain from the address the user typed.
  3. It matches that domain against the allowed domains of each row in your mapping.
  4. On a match, the user is redirected to that row's SAML application to sign in.
  5. On no match, the user falls back to the row marked Set as default app.
  6. After a successful sign-in at the provider, the chat loads.
📘

Example

Row 1 — SAML App: Okta-US-App, Domains: us.company.com, global.company.com
Row 2 — SAML App: Azure-EU-App, Domains: eu.company.com, Set as default app: on

A user at us.company.com is sent to Okta. A user at eu.company.com is sent to Azure AD. A user at an unlisted domain such as partner.com is sent to Azure AD, because it is the default.


SAML profile & attribute mapping (SSO only)

When SSO is selected, three optional blocks let you capture and map data from the identity provider's response.

Save SAML profile

Turn on Save SAML profile to capture named attributes from the sign-in response. In Add SAML profile fields, list the attributes to store (for example, firstName, department).

Create integrations user

Available once Save SAML profile is on. Enabling Create integrations user lets you map SAML attributes to downstream integration profile fields so a user is created or updated in connected systems automatically. Each mapping row is a pair:

FieldMeaning
SAML profile fieldThe attribute name coming from the identity provider.
Integration profile fieldThe target field in the integration user profile.

Login field mappers

Login field mappers map authentication attributes to internal profile attributes for the active session. Each row is an Auth field → Profile field pair. Useful when the provider's attribute names differ from Leena's profile fields.

Successful login message

Optional free-text message shown to users after a successful SSO login.


OAuth

Selecting OAuth shows the OAuth provider dropdown. The web Virtual Assistant supports Azure AD as the OAuth provider.


Custom authentication

Selecting Custom reveals a Channel authorization expression editor. Use this when the VA is embedded in a portal that already authenticates the user — the expression validates the incoming session against your portal's logic before the chat proceeds. For example, you can require that the session came from a specific internal portal and that the user belongs to a particular group.


Shared settings

These controls apply across methods.

Allow login via mobile number

Available for OTP, SSO, and OAuth. When on, users may sign in with a registered mobile number in addition to email.

Send test OTP

A helper block (OTP/SSO/OAuth) for verifying delivery before go-live. Enter a mobile number or email and trigger a test send. Entries are validated for format before sending.

Session timeout (token expiry on inactivity)

Toggle Allow token expiry / timeout and set Session timeout (in seconds; default 120) to expire idle sessions automatically.

Custom SMS provider

If the bot has a custom SMS provider configured, the OTP setup renders additional provider-specific fields so you can tune those values inline.


Relationship with General Settings

Two editors govern web authentication, and they do different jobs:

  • This page (Auth Method editor) owns the login method — OTP, SSO (single or multiple IDP), OAuth, or Custom, plus allowed domains and session behaviour. Saving here replaces the method configuration.
  • General Settings (Authentication → General Settings) owns cross-cutting access policies, including:
    • Restrict access to synced users only.
    • OTP fallback for unregistered corporate domains — lets users on non-personal domains that aren't in your SSO/OAuth mappings sign in via OTP instead of being denied.
    • Access rules — an AND/OR condition tree on user attributes (for example, department = HR OR location = London) evaluated during sign-in.
⚠️

Don't confuse the two editors

Because the Auth Method save replaces the method configuration, access policies belong in General Settings. Configure the login method here; configure access rules there.


Troubleshooting

SymptomLikely causeFix
User with an unlisted domain can't get past loginNo default app set in the multi-IDP mappingMark one row as Set as default app.
A domain routes to the wrong IDPThe same domain is listed on more than one mapping rowKeep each domain in exactly one row.
SSO users are unexpectedly sent to OTPOTP fallback for unregistered domains is on and the domain isn't in any SSO mappingAdd the domain to the correct mapping row, or review the policy in General Settings.
Access rules disappear after saving the methodThe Auth Method save replaces method configurationSet access policies and rules in General Settings, not on this page.
Test OTP not deliveredProvider or recipient format issueRe-check the number/email format and, for custom SMS, the provider fields.

Related pages

  • SAML Apps (create, edit, metadata) — Bot Authentication
  • General Settings & Access Rules — Bot Authentication
  • Mobile / Desktop App Authentication — Bot Authentication
  • Virtual Assistant Web Config (appearance & widget) — Global Settings


Did this page help you?