Skip to main content

SAML SSO Configuration

This guide walks you through configuring a SAML identity provider (IdP) for single sign-on (SSO) in Ask. Use this for Okta, OneLogin, or any IdP that supports SAML 2.0.

Prerequisites​

  • Organization Admin access to Ask
  • An Enterprise plan
  • Administrative access to your SAML IdP
  • Your IdP's SAML metadata URL or metadata XML document
info

Provider names in Ask are stored with a (SAML) suffix (for example, Corporate SSO (SAML)). You do not need to type the suffix manually.

Step 1: Gather SAML metadata from your IdP​

In your IdP admin console, create a new SAML application for Ask (or open an existing one).

OKTA Create A new SAML 2.0 Application

tip

If the console requires you to input any of the following

  • Single sign-on URL
  • Recipient URL
  • Destination URL
  • Audience Restriction URL Skip these for now, or add dummy values. These values will need to be updated with real URLs laterin the setup process.

OKTA SAML Config

Once your SAML Application is created. You will need one of the following:

  • Metadata URL: A public HTTPS URL that returns your IdP's SAML metadata XML
  • Metadata XML: The raw SAML metadata document (paste into Ask)

OKTA SAML Metadata

Also note the attribute names your IdP sends for, Configure these if absent:

  • Email (required)
  • First name (optional)
  • Last name (optional)

Common example:

IdPEmail attributeFirst nameLast name
OktaemailfirstNamelastName

Configure SAML attributes

References:

Step 2: Configure SAML SSO in Ask​

2.1 Navigate to the Access tab​

  1. Log in to Ask as an Organization Admin.
  2. Navigate to Admin > People & Access.
  3. Select the Access tab.

People and Access navigation in Ask

2.2 Select SAML as Identity Provider​

  1. In the Access tab, locate the Single sign-on section.
  2. Select SAML from the available identity provider options.

Select SAML SSO option

2.3 Enter connection details​

Complete the fields in the SAML configuration form:

FieldDescriptionExample
NameDisplay name for this providerCorporate SSO
Metadata XMLPaste IdP metadata XML (use this or Metadata URL, not both)(XML document)
Metadata URLHTTPS URL to IdP metadata (use this or Metadata XML, not both)https://idp.example.com/metadata
BindingHow SAML auth requests are sentRedirect or POST
Signature algorithmAlgorithm for signing requestsRSA-SHA256 (recommended)
Signed requestWhether Ask signs authentication requestsEnabled (recommended)

Enter connection details

2.4 Map user attributes​

Under User attribute mapping, map SAML assertion attributes to Ask user fields:

FieldRequiredDescriptionExample
Email attributeYesSAML attribute containing the user's emailemail
First name attributeNoSAML attribute for given namefirstName
Last name attributeNoSAML attribute for family namelastName

Click Done to save the configuration.

Fill SAML attributes

2.5 Copy Ask service provider URLs​

After saving, Ask displays URLs your IdP needs:

  • Metadata URL: SP metadata for your IdP
  • ACS login form URL: Assertion Consumer Service endpoint
  • ACS intent API URL: ACS endpoint for API-initiated flows
  • Single logout URL: SLO endpoint (if supported)

Fill SAML attributes

2.6 Enable SSO authentication​

After configuring the SAML identity provider, you must enable SSO for your organization:

  1. Navigate to Admin > People & Access.
  2. Select the Access tab.
  3. Select the appropriate authentication option to enable SAML SSO.

Enable SSO authentication

Step 3: Configure the SAML application in your IdP​

  1. Edit the SAML application in your IdP.
  2. Set the Assertion Consumer Service (ACS) URL and Entity ID / Audience using the values Ask provides after you save the initial configuration (see Step 2.5).
  3. Download or copy the IdP metadata URL or metadata XML if you have not already done so in Step 1.

For Okta specifically, map the Ask URLs to the SAML settings as follows:

Okta fieldAsk value
Single sign-on URLACS login form URL
Recipient URLACS login form URL
Destination URLACS login form URL
Audience URI (SP Entity ID)Metadata URL
tip

If your IdP supports uploading a service provider (SP) metadata file, use the metadata URL from Ask once the provider is created.

Step 4: Verify the configuration​

  1. Open an incognito or private browsing window to avoid cached authentication.
  2. Navigate to your Ask login page and enter email.
  3. You should see a SAML sign-in option for your configured provider.
  4. Click the button, it redirects to your IdP's authentication screen.
  5. Complete authentication at your IdP.
  6. Confirm you land in Ask with the correct user profile.

Add email on Ask login page

Select SAML SignIn Option

Enter IdP Credentials

Troubleshooting​

  • Metadata validation errors: Provide exactly one of metadata URL or metadata XML, not both. Ensure the URL is reachable over HTTPS.
  • Attribute mapping failures: Verify claim names match what your IdP sends. Inspect a sample SAML assertion in your IdP's debug tools.
  • ACS URL mismatch: Confirm the ACS URL in your IdP exactly matches the URL shown in Ask after configuration.
  • Signed request errors: Try a different signature algorithm or disable signed requests if your IdP does not support them.
  • Name suffix (SAML): The product appends (SAML) to provider names. This is expected and helps distinguish SAML providers from other IdP types.