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 itUnified 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.
| Method | Use it when |
|---|---|
| OTP | Users verify with a one-time password sent to email or (optionally) phone. |
| SSO | Users authenticate through a SAML identity provider. Supports single or multiple IDPs. |
| OAuth | Users authenticate through an OAuth provider (Azure AD). |
| Custom | The 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:
| Field | Meaning |
|---|---|
| Select SAML App | The SAML application users matching this row should be routed to. |
| Add allowed domains for SAML app | One or more email domains that map to this application (e.g. us.company.com, global.company.com). |
| Set as default app | Marks 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 defaultDesignate 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:
- Because more than one IDP is possible, the Web App presents an email-entry step first (rather than jumping straight to a provider).
- The system reads the domain from the address the user typed.
- It matches that domain against the allowed domains of each row in your mapping.
- On a match, the user is redirected to that row's SAML application to sign in.
- On no match, the user falls back to the row marked Set as default app.
- After a successful sign-in at the provider, the chat loads.
ExampleRow 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: onA 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:
| Field | Meaning |
|---|---|
| SAML profile field | The attribute name coming from the identity provider. |
| Integration profile field | The 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 editorsBecause the Auth Method save replaces the method configuration, access policies belong in General Settings. Configure the login method here; configure access rules there.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| User with an unlisted domain can't get past login | No default app set in the multi-IDP mapping | Mark one row as Set as default app. |
| A domain routes to the wrong IDP | The same domain is listed on more than one mapping row | Keep each domain in exactly one row. |
| SSO users are unexpectedly sent to OTP | OTP fallback for unregistered domains is on and the domain isn't in any SSO mapping | Add the domain to the correct mapping row, or review the policy in General Settings. |
| Access rules disappear after saving the method | The Auth Method save replaces method configuration | Set access policies and rules in General Settings, not on this page. |
| Test OTP not delivered | Provider or recipient format issue | Re-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
Updated 20 days ago

