← All guides

Docebo + Okta SAML SSO: setup, ghost users, the redirect trap

Okta SAML single sign-on for Docebo: configuration, attribute statements, ghost users, logout, testing, and when provisioning needs Docebo Connect.

Concept illustration for Docebo + Okta SAML SSO: setup, ghost users, the redirect trap

Clients ask for Okta-to-Docebo SSO because it is well-documented, but it still fails in the same few places. I approach this for organisations where Okta is the identity source and Docebo is just one of many applications. This covers the configuration Docebo documents, the details that trip people up, and the decision you need to make about provisioning.

I use Docebo for SAML - Okta single sign-on configuration example as my reference. I summarise it here and add what I check around it.

It is fine the first time and irritating the fifth.

Before you touch Okta

Docebo lists the prerequisites: the SAML app activated (Docebo for SAML - Smart and Standard configuration), a Superadmin account on Docebo, and Okta admin access. Two more are easy to miss:

  • Create the user additional fields first. If Okta will create users in Docebo, the user additional fields that Okta will populate must exist before you configure the mapping.
  • Settle the domain first. If you use, or plan to use, a custom domain, it should be configured in Docebo and reachable before you start. The metadata you download from Docebo carries the domain you were logged in on. If it still says docebosaas.com, log in on the custom domain and download it again.

The configuration, in order

  1. Create the app in Okta. Applications, Create App Integration, SAML 2.0, name it.
  2. Take the endpoints from Docebo’s metadata. In Docebo, open SAML and download the SP metadata. Open it in a plain text editor. The first AssertionConsumerService location goes into Okta’s Single Sign On URL (with “Use this for Recipient and Destination URL” ticked). The entityID goes into Audience URI (SP Entity ID).
  3. Name ID and username. Docebo’s example sets Name ID format to Transient and Application username to Okta username.
  4. Attribute statements. Okta marks this section optional. Docebo’s article states plainly that it is not optional for Docebo. At minimum add user.login with value user.login. Add first name, last name, email, department and any other attributes you want in Docebo the same way.
  5. Back in Docebo. Mark the SAML configuration Active, paste Okta’s Identity Provider Issuer into Identity Provider ID and the IdP metadata into XML Metadata. Set the Username Attribute to the Okta attribute name, which must match exactly, including capitalisation.
  6. Provisioning options. Decide on “Lock provisioned user fields” and “If user exists, update user information” (see the decision point below).
  7. SSO behaviour. Choose between the standard login page with an SSO button and automatic redirect to Okta.
  8. Assign the app in Okta to the people or groups who should have access.

Logout and certificates

Service Provider certificates are optional in Docebo, but logout depends on them. Docebo’s article notes that for single logout to work, Okta requires the logout request to be signed by Docebo, which means uploading an SP certificate and private key, then configuring the Single Logout URL and signature certificate in Okta’s advanced settings. If you enable the certificate option, upload a matching certificate and key as separate files. A mismatch is a known cause of the “Download metadata” button sending you back to the home page (Troubleshooting common SAML SSO issues).

The failures I see most

  • Locked out by automatic redirect. Docebo recommends not enabling “Automatic redirect to identity provider” until SSO is confirmed working (General guidance for SSO configuration). With redirect on, users cannot see the public page or choose another sign-in method. If some users (contractors, external instructors) are not in Okta, use the SSO button instead, so they can still sign in with platform credentials.
  • First-time users get “Something went wrong”. User provisioning is not enabled, so only users who already exist in Docebo can log in (Troubleshooting).
  • “Failed to parse XML string”. The IdP metadata was copied from a browser view, which can add hidden formatting. Copy it from a plain text editor.
  • “User is not assigned to this application”. An Okta assignment is missing. Fix it in Okta.
  • Locked fields nobody can edit. With locking on, Superadmins and Power Users can still edit standard fields such as name and email, but locked additional fields cannot be edited by anyone (Troubleshooting). Lock an additional field only if Okta will always be its source.
  • A platform sync overwrote SAML. If you use Docebo’s platform sync, the master platform’s SAML configuration is copied over the child’s. Save the configuration before a sync and re-enter it afterwards (same article).
  • Two SSO methods on one domain. Docebo allows one identity provider per protocol per domain. It recommends against running several SSO methods with provisioning on the same domain, because locked and mandatory fields can conflict (General guidance).

Ghost users: pick one identifier and normalise it

The failure that hurts most is silent. A single attribute mismatch and SAML provisioning creates a second account for someone who already has one: an empty shell next to the record that holds their training history. Nothing errors; you find out when a manager asks why a completion is missing.

My rules, applied before provisioning goes on:

  • One identifier, end to end. The value Okta sends in the attribute you set as Docebo’s Username Attribute must be the value stored as the Docebo username for every existing user. Check a sample of existing users against Okta before go-live, not after.
  • Normalise it at the source. I send it lower-case with an Okta expression, String.toLowerCase(user.login), so that J.Doe@ and j.doe@ can never become two people, whatever either side does with case.
  • Plan for changing emails. If the identifier is an email address, decide what happens when someone marries, changes name or is re-hired on the same address. If there is no process for that, use an identifier that does not change.
  • Audit an existing tenant by export, not by eye. Export users from Docebo and from Okta, lower-case the identifier and email in both, and join them. Same email with two usernames is a duplicate; an email in Docebo but not in Okta is a manual account or a leaver nobody deactivated.

Test before go-live

In the sandbox, with one Okta test user assigned to the app:

  1. Sign-in: the user opens the Docebo tile in Okta and lands in Docebo without a second password prompt. Then the other direction, from the Docebo login page.
  2. Attributes: the Docebo profile shows the right email, names and additional fields, not empty values and not the literal attribute name.
  3. Provisioning: a second Okta user Docebo has never seen signs in and is created once, in the branch you expect.
  4. Logout: if you configured single logout, signing out of one signs out of the other.

Single logout is worth the certificate work on shared devices (warehouses, training rooms). On personal laptops it is optional, and sometimes just irritating.

The new SAML migration

Docebo has been moving every platform to a new SAML implementation, and once it is activated the service provider metadata (Entity ID, Login URL, Logout URL) is different. Okta has to carry the new values before the transition ends. The steps for Okta, Entra ID and other IdPs, and what Docebo says about the date, are in the SAML migration runbook.

The decision point: SAML provisioning, or lifecycle provisioning too?

SAML provisioning creates and updates users when they log in. A new user whose authentication succeeds is created with the Username attribute as their username, placed in the root branch (or the extended enterprise client’s branch), and updated on each later login if you enable that option (General guidance).

That is enough when training starts after someone’s first login. It is not enough when you need people in Docebo before their first day, placed in the right branch, or deactivated when they leave. For that, Docebo provides Docebo Connect for Okta, with recipes that capture user creation and updates in Okta and write them to Docebo. Docebo Connect has to be activated through your account manager, and Docebo notes there may be associated costs. It does not replace SAML: Connect does not manage SSO flows (Docebo Connect).

My rule of thumb: start with SAML and provisioning on, updates on, locking only for fields Okta genuinely owns. Add lifecycle provisioning when a business requirement needs it (pre-boarding, branch placement, leaver reporting), not because it looks complete on a diagram.


Working on this yourself? J4SGON S.L. delivers Docebo Connect, HRIS, SSO and migration work for European organisations: see what a scoped engagement covers or describe your project and we will reply with a written scope.

Next steps

  • Verify your prerequisites, including Superadmin access and Okta admin rights.
  • Follow the configuration steps in order, starting with the Okta app creation.
  • Check your logout and certificate settings to ensure single logout works.
  • Test the redirect settings in a sandbox before enabling automatic redirection.
  • Decide if you need SAML provisioning or full lifecycle provisioning.