<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

How to Update Application Username Using an Expression Language

Lifecycle Management
Okta Classic Engine
Okta Identity Engine

Overview

This article describes how to update application usernames using Okta Expression Language (OEL).

Applies To

  • Okta Expression Language (OEL)
     

Solution

To update the username format on a specific application, navigate to the application in question: Sign On > Application Username Format > Edit > Custom > Enter the appropriate expression. 

Some popular expression examples are below:

  1. For FirstName.LastName, use the following expression:  user.firstName + "." + user.lastName
  2. For FirstName + LastName, use the following expression: user.firstName + user.lastName
  3. For First Initial + LastName, use the following expression: substring(user.firstName, 0, 1) + user.lastName

Credentials details 

Related References

Loading
Okta Support - How to Update Application Username Using an Expression Language