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

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 May 4, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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