When editing a custom SAML application in the Admin console, selecting the Next button under the General Settings screen results in the following error:
We found some errors. Please review the form and make corrections.
- Custom SAML App
- Application Integration Wizard (AIW)
- Secure Assertion Markup Language (SAML)
This issue is due to a validation process when editing the SAML Application. If in the Application Username field when set to Custom an expression is present that uses the old Okta expression language (for example, ${f:substringBefore(user.email, "@")}), or if the field is blank, the username validation will result in empty values, and Okta will return an error.
Follow the video or the steps below.
- Open the Custom SAML app as an admin.
- Click the Sign On tab.
- Click Edit.
- Update the Application username format to use a predefined value or use a custom expression using the latest Okta Expression Language, for example,
String.substringBefore(user.email, "@").
For example, if the Service Provider requires all usernames to be set to the same value, and the current custom username format reads SSOUsername, this must be updated so that the string is wrapped in either single or double quotes, such as SSOUsername or SSOUsername, in order to follow EL requirements.
|
Invalid Expression Language |
Valid Expression Language |
|
|
|
- Save the changes.
- Click the General tab.
- Click Edit for SAML Settings.
- Click Next.
