<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>SAML SSO issue in localhost getting redirected to '/sso?continue=true'</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120578759" />
  <subtitle>SAML SSO issue in localhost getting redirected to '/sso?continue=true'</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120578759</id>
  <updated>2026-05-19T17:51:04Z</updated>
  <dc:date>2026-05-19T17:51:04Z</dc:date>
  <entry>
    <title>SAML SSO issue in localhost getting redirected to '/sso?continue=true'</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120578758" />
    <author>
      <name>Bikee M</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120578758</id>
    <updated>2021-01-29T08:44:17Z</updated>
    <published>2021-01-29T03:24:57Z</published>
    <summary type="html">&lt;p&gt;Hi everybody,&lt;/p&gt;
&lt;p&gt;I am new to this platform. I got the Liferay DFX 7.3.10 set up for my
  local machine. I have set up liferay as SAML identity provider. And
  using my project running on rails as service provider. All the setup
  went well as I am able to set up IDP and get the meta data and use it
  in rails project. Both IDP and SP initiated SSO are working fine.
  When i perform SP initiated sign out, all the steps are moving along
  well with all proper request and response. But when i try
  to initiate SSO again regardless of it being SP or IDP initiated;
  rather the redirecting to the login page in liferay and another
  redirect takes place which takes the page
  to 'http://localhost:8080/c/portal/saml/sso?continue=true' with
  'Unable to process SAML request.' error. After this if try again,
  things looks normal and I get the login page again. &lt;/p&gt;
&lt;p&gt;Is this related to 'JSESSIONID' cookie? As i was looking deeper,
  when i delete this cookie and try to initiate SSO, same redirect
  happens every time.&lt;/p&gt;
&lt;p&gt;
  &lt;strong&gt;Looking at logs, &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;em&gt;For IDP initiated &lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;[http-nio-8080-exec-8][HTTPPostDecoder:116] Request did not
    contain either a SAMLRequest or SAMLResponse paramter.
     Invalid request for SAML 2 HTTP POST binding.'&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;
  &lt;em&gt;For SP initited&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;ERROR [http-nio-8080-exec-8][BasicParserPool:50] XML Parsing Error
    org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1;
    Content is not allowed in prolog.&lt;/li&gt;
  &lt;li&gt;ERROR [http-nio-8080-exec-8][BaseSamlStrutsAction:59]
    org.opensaml.messaging.decoder.MessageDecodingException:
    Error unmarshalling message from input stream&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Any help would be highly appreciated.&lt;/p&gt;</summary>
    <dc:creator>Bikee M</dc:creator>
    <dc:date>2021-01-29T03:24:57Z</dc:date>
  </entry>
</feed>
