<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

Limit an Application Attribute

Lifecycle Management
Okta Classic Engine
Okta Identity Engine

Overview

This article clarifies how to limit the length of an application attribute.

Applies To

  • Application attributes
  • Mappings

Solution

Edit the attribute mappings to ensure the attribute length is truncated to align with the application's requirements.

  1. Go to Directory > Profile Editor.
  2. Select the application profile to edit.
  3. Select Mappings > Okta to [Application].
  4. Edit the desired attribute mapping.
  5. Enter an expression similar to the following to truncate the attribute's length: substring(user.city, 0, 40).

    NOTE: In this example, user.city is the source attribute in Okta, and 40 is the maximum number of characters allowed by the application.


Loading
Okta Support - Limit an Application Attribute