Support Article

Cannot login via SSO



When accessing Pega via SAML SSO an exception is thrown and IDP level.

Error Messages

IDP Level error page.

Steps to Reproduce

Caused by: Invalid byte 1 of 1-byte UTF-8 sequence.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at [Custom_classes].SAMLUtils.getDOMElement(
... 23 more

Root Cause

The SAML AuthService was set to use a Login Type of HTTP-Redirect but the Login URL was expecting HTTP-Post.


Changed the AuthService to use a login type of HTTP-Post.

Published April 19, 2017 - Updated May 4, 2017

Have a question? Get answers now.

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