PVWA - SAML Authentication not working even though saml.config is correct.

PVWA - SAML Authentication not working even though saml.config is correct.

131
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:00 PM


Symptom


SAML Authentication is failing with 'Authentication failure. Please contact your Administrator'.


This error appears in the PVWA log:-


2024-11-05 08:46:18,121 || ERROR || 83 || || || 6bedeccb-eed7-4459-9598-55c6e2d2d5c7 || Failed to receive an SSO response from the identity provider || ComponentSpace.SAML2.Exceptions.SAMLConfigurationException: The partner identity provider https://<url> is not configured


The partner identity provider name in saml.config matches the 'Issuer' value in the SAML response.



Environment


13.2 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access

Password Vault Web Access



Cause


The SAMLAssertionExpirationDateFormat parameter is missing from the PVConfiguration.xml file.



Resolution


  • Login to the PrivateArk client and download the PVConfiguration.xml file from the PVWAConfig safe
  • Make a backup copy of the PVConfiguration.xml file
  • Add the SAMLAssertionExpirationDateFormat parameter to the saml AuthMethod setting under the <Authmethods> section as follows:-


<AuthMethod Id="saml" DisplayName="SAML" Enabled="Yes" LogoffUrl="" UseVaultAuthentication="No" UseRadius="No" MobileEnabled="No" SAMLAssertionExpirationDateFormat="yyyy-MM-dd'T'HH:mm:ss.fff'Z'"/>


  • Copy the new PVConfiguration.xml file back to the PVWAConfig safe
  • Restart IIS on the PVWAs


In case of issues, restore the backed up PVConfiguration.xml file and contact Idira support.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001B7zCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail