<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Using a Custom Username DOMAIN\username for SAML Application
Okta Classic Engine
Okta Identity Engine
Administration
Overview
Using a Custom Username DOMAIN\username for SAML Application
Applies To
  • Okta Expression Language

  • Okta SAML custom username setting

Solution
  1. In the Okta Admin Console, click Applications and click the affected application

  2. Click the Sign On tab

  3. Scroll down and select the Okta Username dropdown 

  4. Select the Custom option within the dropdown menu

  5. Enter expression: "XDOMAIN" + toLowerCase(substring( user.firstName, 0, 1)) + toLowerCase(user.lastName) 

    1. Please NOTE: The expression can work in multiple ways, for example: DOMAIN" + workday.userName can work as well when you have Workday as a profile master

  6. Preview the username, to make sure it matches the format you are looking to achieve.

Related References

Loading
Using a Custom Username DOMAIN\username for SAML Application