SAML - {"ErrorCode":"PASWS013E","ErrorMessage":"Authentication failure for User [<username>@<corporate domain>.com]."}
190
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 12:58 PM
Symptom
Attempting to set up SAML and/or encounter the following error on the web page when using SAML authentication:
{"ErrorCode":"PASWS013E","ErrorMessage":"Authentication failure for User [<username>@<corporate domain>.com]."}
In the CyberArk.WebApplication.log, the following entries can be found:
PASWS013E Authentication failure for User [<username>@<corporate domain>.com].
PASWS001E Error occurred: PASWS013E Authentication failure for User [<username>@<corporate domain>.com].
Environment
10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10 Component: Password Vault Web Access Functional Area: null
Cause
The username used to log into the IdP is the UPN format or email address, but the accounts in the Vault are not configured as such. e.g. Vault is using samAccountName (LDAP Integration > Profiles > MicrosoftADProfile.ini > UserLogonName > [sAMAccountName or userPrincipalName])
Resolution
In the IdP, modify the user ID and format it accordingly.
e.g.
In Okta, edit the users assigned to the application, and format it to the username.
In OneLogin, will need to modify 'NameID' from Email to Username.