Creating an SSO Configuration
Talkative supports SAML based login for users. This can be configured from the General settings page in your account:
The Talkative SSO configuration has a list of pre-set claims, but you can change this to suit your needs depending upon your SSO provider.
To setup a SSO provider, complete the form on this page. Information about each of the fields can be found here:
Custom Login URL
For ease of use, we provide a custom login URL. When used, this will automatically redirect your users to your identity provider for authentication.
The value you enter here also becomes the name of your identity provider connection inside Talkative. It must contain letters only (no numbers, spaces, hyphens or other characters), be no longer than 32 characters, and be unique across Talkative. For example, ExampleCorp is valid; example-corp and ExampleCorp2 are not.
Enable Cross Company Configuration
Users login via their email address and password. Email addresses must be unique, and cannot currently be used across companies. If you are a sole tenant with a single SSO provider, you can click on “Sign in using Single Sign On” on the login page:
This will allow the user to enter their email address, which will look up the correct identify provider. It does this by inspecting the users email address, and using the domain associated with the email to find the correct identify provider. If you need to use the same user pool with multiple talkative tenants in the same region, you will not be able to use this method, as an email domain may not be unique to a tenant.
Enabling the cross company usage disables this method of login. Users will instead be required to login by visiting the unique domain generated during the SSO setup.
If using cross company with an external distributor, it is recommended that you also enable the “force SSO login flow” in the company configs. This will automatically redirect users using an external client to the identity provider based on the company the interaction being routed belongs too.
Just-in-Time User Provisioning
For ease of use, JIT can be used to provision accounts for users when they first login to the system. The provisioned user will either be granted the role of agent, or, if mapped using the groups, the permission assigned in the permission mapping which can be done after the SSO configuration is setup. If this is not enabled users will have to be created either manually using the User Management page, or by using the SCIM API to provision users directly from your identity provider.
Federated Metadata File
The federated metadata file is provided by your identity provider. Some providers require some basic configuration in place to allow this file to be generated. You may need to enter some placeholder data to your IP first to allow this file to be generated.
If your identity provider's signing certificate is renewed or rotated, download the updated metadata file and upload it under Identity Provider Configuration on the management page. Until you do, sign-in will fail because Talkative can no longer verify the signature on the assertion.
NB: This workflow is currently being reviewed following changes to several IP who require the assertion data before allowing the creation of a metadata file. At the time of writing, this option is on the setup page, but it may be moved to the management page instead.
Claim Configuration
Talkative reads the attributes (claims) in the Security Assertion Markup Language (SAML) assertion sent by your identity provider (IdP) to identify users, create and update their accounts, and set their role. For each Talkative field you enter the name of the attribute your identity provider sends, not the value. The name must match exactly, including upper and lower case and any Uniform Resource Identifier (URI) prefix such as http://schemas.xmlsoap.org/....
Talkative field | Required | What Talkative does with it | Default attribute name |
Email | Yes | Signs the user in, checks the email domain against your Authorised Domains, and matches existing Talkative users the first time they sign in with SSO. Updated on every sign-in. | http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress |
Given Name | Yes, and must contain a value | Sets the user's first name. Updated on every sign-in. | http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname |
Family Name | Yes, and must contain a value | Sets the user's last name. Updated on every sign-in. | http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname |
Custom (role/group) | No | Supplies the values used for Permission Mapping (see below). Leave blank if you will manage roles in Talkative. | Depends on the preset |
The Email attribute must contain the user's real email address, and its domain must be listed in Authorised Domains. If your identity provider sends a username or User Principal Name (UPN) whose domain differs from the email domain (for example jane@corp.example.local), sign-in will fail.
The presets fill in the fields for you. All four use the same Email, Given Name and Family Name values shown above; only the Custom field changes.
Preset | Custom (role/group) attribute name | Typical use |
Group Based SAML (default) | http://schemas.microsoft.com/ws/2008/06/identity/claims/groups | Microsoft Entra ID (formerly Azure Active Directory) sending group claims |
Role Based SAML | http://schemas.microsoft.com/ws/2008/06/identity/claims/roles | Microsoft Entra ID sending app roles |
On Premises Active Directory | http://schemas.xmlsoap.org/claims/Group | Active Directory Federation Services (AD FS) |
GSuite without User Roles | (blank) | Google Workspace, or any identity provider where roles will be managed in Talkative |
Talkative works with any identity provider that supports SAML 2.0, such as Okta, OneLogin, JumpCloud, PingFederate, Keycloak or Google Workspace. Many of these let you choose your own attribute names. You have two options:
- Configure your identity provider to send the default attribute names shown above, and select a preset; or
- Use whatever names your identity provider sends (for example
email,firstName,lastName,groups) and type them into the Email, Given Name, Family Name and Custom fields.
Either works, as long as the names entered in Talkative exactly match the names in the assertion. If you're unsure what your identity provider sends, capture a sign-in with a SAML tracer browser extension and read the Name of each Attribute in the assertion.
Claims can't be changed after the SSO configuration has been created. Uploading a new metadata file on the management page does not change them. Check the attribute names before you click Create; if you need to change them later, you will need to delete and recreate the SSO configuration.
This is an example of the part of a SAML assertion that Talkative reads, using the default attribute names and a group-based setup:
<saml:Subject>
<saml:NameID Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent">8f4c2a10-5b7e-4d3a-9c61-2e0f7a9b1d44</saml:NameID>
</saml:Subject>
<saml:AttributeStatement>
<saml:Attribute Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress">
<saml:AttributeValue>jane.smith@example.com</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname">
<saml:AttributeValue>Jane</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname">
<saml:AttributeValue>Smith</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="http://schemas.microsoft.com/ws/2008/06/identity/claims/groups">
<saml:AttributeValue>Talkative-Agents</saml:AttributeValue>
<saml:AttributeValue>Talkative-Supervisors</saml:AttributeValue>
</saml:Attribute>
</saml:AttributeStatement>NameIDis the user's unique identifier (see Name ID below). It is not one of the claim fields, but it is required.
- Each
Attribute Nameis what you enter in the matching Talkative field. TheAttributeValueis the user's data.
- The groups attribute can contain any number of values. Talkative compares each value with your Permission Mapping.
Alongside the claims, Talkative uses the Name ID in the Subject of the assertion as a permanent reference for each user. After the first sign-in, users are recognised by this reference rather than by email, which means a change of email address or name in your identity provider is carried across to the existing Talkative account instead of creating a duplicate.
- The Name ID must be unique to each user and must never change. Use a persistent format, or an immutable value such as the user's object ID or user ID in your identity provider.
- Do not use a transient Name ID (a new value on every sign-in).
- If a user's Name ID changes after they have signed in, Talkative can't match them to their existing account and their sign-in will fail. Contact Talkative support if you need to change the Name ID source for existing users.
- The first time an existing Talkative user signs in with SSO, they are matched by email address and their Name ID is then stored against their account.
Default User Group
In Talkative Agents are mapped to Groups, and Groups are mapped to Queues. To simply the JIT workflow, you can set a default group new SSO users are assigned too when they login for the first time. This is optional, and users can be left unmapped on first login. If you choose not to assign a default group, users will need to be assigned to a group by a supervisor or account holder.
Managing an SSO Configuration
Once your initial SSO is configured, there are some additional steps required to link your SSO config to your identity provider. If you have just finished the initial setup, you will be automatically redirected to this page, otherwise, you can access the same page following the same route you used to create an SSO configuration.
SSO Configuration Detail
From this pane, you can find your Identifier, Reply URL and your Sign on URL. The Identifier and Reply URL will need to be copied and added to the relevant configuration in your identity provider.
Different identity providers use different names for these settings. Use this table to find the right field:
Talkative value | Also called | Notes |
Identifier (Entity ID) | Audience URI, SP Entity ID, Relying Party Identifier | Copy exactly from the management page. It starts with urn: and is unique to your SSO configuration. |
Reply URL | Assertion Consumer Service (ACS) URL, Single Sign-On URL, Recipient / Destination URL | Copy exactly from the management page. The assertion is sent here using the HTTP-POST binding. |
Login URL | Sign on URL, Application Login URL, Initiate Login URL | Optional in most identity providers. Set it to the Talkative Login URL so app tiles in your identity provider's portal start sign-in from Talkative. |
Your identity provider should also be configured as follows:
- Name ID: persistent, unique and unchanging for each user (see Name ID above).
- Signing: sign the SAML response or assertion (the default in most identity providers).
- Encryption: leave assertion encryption turned off.
- Sign-in flow: sign-in must start from Talkative (the Login URL, or "Sign in using Single Sign On" on the login page). Launching Talkative directly from your identity provider's portal without going through the Login URL (IdP-initiated sign-in) is not supported.
Permission Mapping
Permission mapping allows you to map permission groups in your identity provider to a role in Talkative. The role mappings might look like a UUID if you are mapping groups in Azure, or, if you are mapping roles it would be a role like “Agent”. You can map multiple rules be separating them with a pipe operator (|).
Permission mapping uses the values sent in the Custom claim. If you left the Custom claim blank when creating the configuration, no roles will be mapped from SSO.
How Talkative decides a user's role:
- Talkative reads every value in the Custom claim for the user.
- Each value is compared with the values entered for Account Holder, Supervisor and Agent. The comparison is exact and case-sensitive, so
Talkative-Supervisorswill not matchtalkative-supervisors.
- To map several values to one role, separate them with a pipe, for example
Talkative-Admins|CC-Managers. Each role field allows up to 100 characters.
- If a user matches more than one role, the highest role is used: Account Holder, then Supervisor, then Agent.
- The role is re-checked every time the user signs in and replaces their previous role.
- If none of the user's values match (or the Custom claim isn't sent), the user keeps their current role. New users are given the Agent role.
Roles are only applied from SSO when Just-in-Time User Provisioning is enabled. If it is disabled, the user's role is managed in Talkative User Management (or through SCIM) and the Custom claim is ignored.
Tips:
- Enter the values exactly as they appear in the assertion. Microsoft Entra ID sends group object IDs (for example
3f2b8c1e-7a4d-4e9b-b1c2-9d8e7f6a5b4c) by default, not group names. Either enter the object IDs, or configure Entra ID to send group names instead.
- Send only the groups that matter to Talkative. Users in many groups produce very long claims, and some identity providers stop sending groups altogether above a limit. In Entra ID, choose "Groups assigned to the application"; in other identity providers, use a group filter on the attribute.
- Removing a user from every mapped group does not demote them, because unmatched users keep their current role. To demote someone, move them into a group mapped to the lower role, or change their role in User Management.
Authorised Domains
Only domains which are authorised here will be able to access the application. If your user is john@example.com, you would enter example.com. This domain must be unique across the entire system, unless when the other company using this has also enabled cross company access.
Deleting an SSO Configuration
If you no longer wish to use your SSO configuration, or if you need to change to a new identify provider, you can delete the config by clicking this button. If you remove an SSO configuration, your SSO users will no longer be able to login via the identity provider. If you want to return to integrated login, the users will need to reset their password using the normal talkative password reset flow.
Troubleshooting Sign-in Errors
These are the messages users may see on the Talkative login page after an unsuccessful SSO sign-in, and what to check.
Message | Likely cause | What to check |
The family name or given name claims did not contain any information. | The Given Name or Family Name attribute name doesn't match what your identity provider sends, or the user has no first or last name set. | Compare the attribute names in the assertion with the claim fields, and check the user's profile in your identity provider. |
There was a problem authenticating your request, followed by extra detail | Your identity provider or the SAML exchange returned an error, for example a required attribute such as Email is missing, or the assertion couldn't be validated. | Read the detail shown. Check the Email attribute name, that the assertion is signed and not encrypted, and that the Identifier and Reply URL match the management page. |
There was a problem authenticating your request (no extra detail) | Sign-in couldn't be completed after returning from your identity provider. | Retry from the Login URL. If it persists, check the Identifier and Reply URL, and upload the latest metadata file if your signing certificate has changed. |
This domain is not valid | The domain of the email address in the Email attribute isn't listed in Authorised Domains. | Add the domain, and check the Email attribute contains the real email address rather than a username or UPN with a different domain. |
You do not have authorisation to access this portal. Please contact your administrator | Just-in-Time User Provisioning is off and there is no Talkative user with this email address. | Create the user in User Management or through SCIM, or enable Just-in-Time User Provisioning. |
Your SSO server is configured to use a unique login URL. Please navigate to this URL to login. | Cross-company is enabled, so sign-in by email address isn't available. | Sign in using your Login URL from the management page. |
This meta data file is invalid. Please check it and try again (during setup) | The uploaded file isn't valid SAML metadata, or the download was incomplete. | Download the metadata file again from your identity provider and re-upload it. |
User signs in but has the wrong role | Just-in-Time User Provisioning is off, the Custom claim is blank or has the wrong name, or the values don't exactly match the Permission Mapping. | See Permission Mapping above. Check the values in the assertion, including case and whether they are IDs or names. |
An existing user can no longer sign in after a change in the identity provider | The user's Name ID has changed. | Restore the original Name ID source, or contact Talkative support. |
A SAML tracer browser extension is the quickest way to see exactly what your identity provider is sending. Capture a sign-in, open the SAML response, and compare the NameID and each Attribute Name with your Talkative configuration.
Glossary
Term | Meaning |
SSO (Single Sign-On) | Signing in to Talkative with your organisation's existing account rather than a separate Talkative password. |
SAML (Security Assertion Markup Language) | The open standard Talkative uses to receive sign-in information from your identity provider. |
IdP (Identity Provider) | The system that holds your users and signs them in, for example Microsoft Entra ID, Okta or Google Workspace. |
SP (Service Provider) | The application being signed in to; in this case, Talkative. |
Assertion | The signed message your identity provider sends to Talkative after a user signs in. It contains the Name ID and the user's attributes. |
Attribute / Claim | A named piece of user information in the assertion, such as email address or group membership. |
Name ID | The unique identifier for the user in the assertion's Subject. Talkative uses it to recognise the user on future sign-ins. |
Entity ID (Identifier) | The unique name of the Talkative SSO configuration, entered in your identity provider as the audience. |
ACS (Assertion Consumer Service) URL | The Talkative address your identity provider sends the assertion to; shown as the Reply URL. |
Federated metadata file | An XML file from your identity provider containing its sign-in address and signing certificate. |
JIT (Just-in-Time) User Provisioning | Creating a Talkative user automatically the first time they sign in with SSO. |
SCIM (System for Cross-domain Identity Management) | A standard for creating, updating and removing users in Talkative directly from your identity provider. |
AD FS (Active Directory Federation Services) | Microsoft's on-premises identity provider for Active Directory. |
UPN (User Principal Name) | A Microsoft sign-in name in the format user@domain, which isn't always the same as the user's email address. |
URI (Uniform Resource Identifier) | A web-address-style name, used by some identity providers for attribute names. |
Object ID | The unique identifier Microsoft Entra ID gives each user and group. |