This article clarifies how to limit the length of an application attribute.
- Application attributes
- Mappings
Edit the attribute mappings to ensure the attribute length is truncated to align with the application's requirements.
- Go to Directory > Profile Editor.
- Select the application profile to edit.
- Select Mappings > Okta to [Application].
- Edit the desired attribute mapping.
- 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.
