Support Article

Cannot login via SSO

SA-36730

Summary



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

Error Messages



IDP Level error page.

Steps to Reproduce



Caused by: org.apache.xerces.impl.io.MalformedByteSequenceException: 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(SAMLUtils.java:836)
... 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.

Resolution



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.