PVWA - SAML Authentication fails with error "Failed to initiate SSO authn request to the identity provider" after upgrading to PVWA 14.4 or above
Symptom
After upgrading to PVWA 14.4 or above, SAML Authentication fails with error:
Failed to initiate SSO authn request to the identity provider
The following errors are seen in C:\windows\temp\PVWA\PVWA.App.log:
2025-04-03 16:02:32,573 || ERROR || 35 || || UI || || 23345cb3-887e-4303-abc6-d75faed46b56 || Failed to initiate SSO authn request to the identity provider || || c6: Failed to initiate SSO authn request to the identity provider ---> ComponentSpace.SAML2.Exceptions.SAMLConfigurationException: An X.509 signature certificate for the local service provider hasn't been configured.
2025-04-03 16:02:32,573 || ERROR || 35 || || UI || || 23345cb3-887e-4303-abc6-d75faed46b56 || PASWS001E Error occurred: Failed to initiate SSO authn request to the identity provider || ||
Environment
14.4;14.6;15.0 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access
PVWA 14.4 or above
Cause
There is a behavior change from PVWA 14.4 where "SignAuthnRequest" parameter is required in saml.config file.
Resolution
Update the saml.config (c:\inetpub\wwwroot\PasswordVault) and add "SignAuthnRequest" parameter in the "PartnerIdentityProvider" section.
e.g.
<PartnerIdentityProvider Name="https://sts.windows.net/570b2e74-14ec-4bda-888c-f52f7e9b0312/" SingleSignOnServiceUrl="https://login.microsoftonline.com/570b2e74-14ec-4bda-888c-f52f7e9b0312/saml2" SignAuthnRequest="false">