PVWA - NEW SAML Authentication - "Missing mandatory parameter [username]."
123
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 15:52 PM
Symptom
When using PVWA 11.3+ and the NEW SAML Authentication in PVWA you see the following error at login;
Missing mandatory parameter [username].
When checking the PVWA webapplication log you se the following error
Failed to receive an SSO response from the identity provider PASWS011E Missing mandatory parameter [username]. PASWS002I Ending method Auth::Logon PASWS001I Starting method GeneralExceptionAttribute::OnException PASWS001E Error occurred: PASWS011E Missing mandatory parameter [username]. CyberArk.PasswordVault.PASWebServices.MissingFieldException: PASWS011E Missing mandatory parameter [username]. ---> l: Failed to receive an SSO response from the identity provider ---> ComponentSpace.SAML2.Exceptions.SAMLConfigurationException: The partner identity provider <PartnerIdentityProviderID> is not configured. at ComponentSpace.SAML2.Configuration.Resolver.SAMLConfigurationResolver.GetPartnerIdentityProviderConfiguration(String configurationID, String partnerName)
Environment
PVWA 11.3+
Cause
The partner identity provider Name in use by the IDP is not the same as listed in the saml.config, This can be verified by checking the <PartnerIdentityProviderID> from the WebApplication.log against the partner identity provider Name in saml.config, These should match.
Resolution
To resolve this issue update either the Partner Identity Provider on the IDP to PasswordVault or in the saml.config file to <PartnerIdentityProviderID> and then restart iis on the PVWA.