PVWA - SAML Authentication - Successful auth redirects to sign out page using load balancer - CASW047E SAML Response does not contain NameID tag.

PVWA - SAML Authentication - Successful auth redirects to sign out page using load balancer - CASW047E SAML Response does not contain NameID tag.

144
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 13:01 PM


Symptom


When attempting to log into the PVWA using SAML authentication the user connects to a PVWA alias and is redirected to the SAML IdP single-sign-on page and enters credentials successfully. The user is then redirected back to the PVWA "Choose your authentication method" page with the message "Signed out".

In the PVWA WebSession logs, you see the following error messages:
EPVSW001P Started method SAMLResponseWrapper::GetNameID
CASW047E SAML Response does not contain NameID tag.
CAASMA001E Failed To Get User Name from SAML Response. Received Error: CASW047E SAML Response does not contain NameID tag.
CAASMA002D Retrieved User Name [] from SAML response


Environment


10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0;13.2;13.1 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access PVWA

Cause


Due to changes in the way the PVWA processes session information from v9.7+, the URLs used by any URL redirection process MUST be case sensitive - specifically the PasswordVault value in the URL. A redirection definition, either on the local PVWA or defined in the load balancer, likely has an HTTP to HTTPS redirection that specifies:

https://<PVWA-DNS>/passwordvault/auth/saml


Resolution


Find the source of the redirection (local web.config file, IIS Redirect module, .asp redirect file, or a redirect defined in the load balancer). Change any URL referencing "passwordvault/auth/saml" to be "PasswordVault/auth/saml".

For example:

Original (incorrect):
https://<PVWA-DNS>/passwordvault/auth/saml

Change to (correct):
https://<PVWA-DNS>/PasswordVault/auth/saml


Additional Information


Details

SYMPTOM:

When attempting to log into the PVWA using SAML authentication the user connects to a PVWA alias and is redirected to the SAML IdP single-sign-on page and enters credentials successfully. The user is then redirected back to the PVWA "Choose your authentication method" page with the message "Signed out".


In the PVWA WebSession logs, you see the following error messages:


EPVSW001P Started method SAMLResponseWrapper::GetNameID

CASW047E SAML Response does not contain NameID tag.

CAASMA001E Failed To Get User Name from SAML Response. Received Error: CASW047E SAML Response does not contain NameID tag.

CAASMA002D Retrieved User Name [] from SAML response

 

PROBLEM: 
Due to changes in the way the PVWA processes session information from v9.7+, the URLs used by any URL redirection process MUST be case sensitive - specifically the PasswordVault value in the URL. A redirection definition, either on the local PVWA or defined in the load balancer, likely has an HTTP to HTTPS redirection that specifies:

https://<PVWA-DNS>/passwordvault/auth/saml
 
SOLUTION:
Find the source of the redirection (local web.config file, IIS Redirect module, .asp redirect file, or a redirect defined in the load balancer). Change any URL referencing "passwordvault/auth/saml" to be "PasswordVault/auth/saml".

For example:

Original (incorrect):
https://<PVWA-DNS>/passwordvault/auth/saml

Change to (correct):
https://<PVWA-DNS>/PasswordVault/auth/saml




Actions
  • Print
  • Copy Link

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