Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

SP-initiated SSO does not work with encrypted attributes



PRRuntimeException occurs when reading the encrypted SAML response from the Identity Manager (IDP) while using the SP-initiated single sign-on (SSO).

Error Messages

Caught Exception while processing SAML2 Authentication response Caught Exception while validating SAML2 Authentication response protocol : Must contain one or more attributes

Steps to Reproduce

  1. Log in through SSO.
  2. Read the SAML response.

Root Cause

When encrypted attributes were sent in an SAML response, the application failed to decrypt the attributes. Validation failure occurred because the signature element was not found, due to which the schema validation failed. Hence, custom PegaSAMLValidator was provided to validate the assertion.


Apply HFix-35622.

Suggest Edit

Published December 14, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us