PVWA - SAML Authentication via ADFS throws "An error occurred" after entering user credential
Symptom
PVWA SAML Authentication via ADFS throws "An error occurred" after entering user credential in ADFS Sign On screen and does not get redirected back to PVWA.
e.g.
ADFS has been configured following this KB:
https://community.cyberark.com/s/article/PVWA-SAML-ADFS-Configuration-NEW-SAML
Environment
12.6;13.0;13.2;14.0;14.2 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access
PVWA
Cause
The SAML Assertion Consumer Endpoints URL is case sensitive and it is not set as per the KB article:
https://community.cyberark.com/s/article/PVWA-SAML-ADFS-Configuration-NEW-SAML
For example, using the following URL will cause the error:
https://<PVWA>/PasswordVault/API/auth/saml/logon/
https://<PVWA>/PasswordVault/api/auth/SAML/logon/
https://<PVWA>/passwordvault/api/auth/saml/logon/
Resolution
Set the SAML Assertion Consumer Endpoints URL with the correct case e.g.
https://<PVWA>/PasswordVault/api/auth/saml/logon/