PASWS011E Missing mandatory parameter [username] error with SAML after upgrade to 10.10
Symptom
IDP is PingFederate. Upgraded with 10.10.0.4 When IdP redirects to /api/auth/saml/logon I get {"ErrorCode":"PASWS011E","ErrorMessage":"Missing mandatory parameter [username]."} error. Further details from the websession log on the PVWA attached. When IdP redirect set to /v10/logon/saml the page goes through an endless loop.
Follow the CA-19 note, make sure the 3 .dll files are in newer version.
Environment
10.10;11.1;11;11.2 Password Vault Web Access Upgrade
Cause
It could be a wrong IdentityProviderLoginURL configured in web.config for SP imitated SSO. The error in logs indicates taht there is no InResponseTo element presents in the SAMLResponse.
Resolution
Check IdentityProviderLoginURL in the web.config file.
For example: This might be an IDP Initiated SSO URL: https://{IDPHost}:port/idp/startSSO.ping?PartnerSpId=PasswordVault, but it was working before the patch (ie: CA19-10). In order to make SAML working, this URL should be changed to a SP initiated SSO URL ie: https://{IDPHost}:port/idp/SSO.saml2.