Support Article
SAML 2.O SSO Integration Null Pointer Exception error
SA-11467
Summary
Getting Null Pointer Exception error on the Authentication response receiving from the IDP .
Error Messages
Error while executing the Authentication Service activity : Unable to process SAML2 Authentication response : Caught Exception while validating SAML2 Authentication response protocol : null
Steps to Reproduce
Attempt to login with SAML authentication.
Root Cause
The root cause of this problem is a defect in application rules.
The assertion is encrypted and when Pega cannot decrypt the message the above mentioned error is displayed.
Resolution
When using SAML 2.0 authentication the decryption certificate as defined in the Data-Admin-AuthService must be same as the certificate used to encyrpt the assertion at the IDP side.
Published July 27, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.