<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

Converting Okta Usernames to Lowercase for Application Assignment

Lifecycle Management
Okta Classic Engine
Okta Identity Engine

Overview

This article demonstrates how to convert Okta usernames to all lowercase characters when assigning users to an application. The provided solution leverages the Okta Expression Language to create a custom application username format.

Applies To

  • Okta administrators
  • Organizations with applications that require case-sensitive usernames
  • Organizations with inconsistent AD usernames

Solution

Follow the steps or video below.


 

  1. Navigate to the desired application in the Okta Admin Dashboard.

  2. Click on the Sign On tab.

  3. Set the Application username format to Custom.

  4. Enter the following Okta Expression Language formula in the custom expression field: String.toLowerCase(user.login)

String.toLowerCase(user.login)

By using the Okta Expression Language and the String.toLowerCase(user.login) expression, the username will be automatically converted to lowercase characters when a user is assigned to the application. This ensures the application's case-sensitive requirements are met, even when the organization's AD usernames are inconsistent.

 

Related References

 
Loading
Okta Support - Converting Okta Usernames to Lowercase for Application Assignment