<?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>SSO withh KeyCloak from FrontEnd app with Liferay 7.4 as Headless CMS</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121811915" />
  <subtitle>SSO withh KeyCloak from FrontEnd app with Liferay 7.4 as Headless CMS</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121811915</id>
  <updated>2026-04-28T04:24:50Z</updated>
  <dc:date>2026-04-28T04:24:50Z</dc:date>
  <entry>
    <title>RE: SSO withh KeyCloak from FrontEnd app with Liferay 7.4 as Headless CMS</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121832825" />
    <author>
      <name>Zsigmond Rab</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121832825</id>
    <updated>2023-06-01T14:51:05Z</updated>
    <published>2023-06-01T14:51:04Z</published>
    <summary type="html">&lt;p&gt;Hi Aritz,&lt;/p&gt;
&lt;p&gt;You should have the user authenticate against the portal instead of
  KC. The import can happen only in this case, I believe. At least
  without further customization.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;</summary>
    <dc:creator>Zsigmond Rab</dc:creator>
    <dc:date>2023-06-01T14:51:04Z</dc:date>
  </entry>
  <entry>
    <title>SSO withh KeyCloak from FrontEnd app with Liferay 7.4 as Headless CMS</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121811914" />
    <author>
      <name>Aritz Galdos</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121811914</id>
    <updated>2023-05-24T15:19:39Z</updated>
    <published>2023-05-24T15:19:38Z</published>
    <summary type="html">&lt;p&gt;Hello dear friends of the community&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;div class="s-prose js-post-body"&gt;
  &lt;p&gt;This is the scenario. I have a Liferay 7.4 CE configured to log in
    with &lt;strong&gt;KeyCloak&lt;/strong&gt;. At this point every thing is fine. I
    can create a user in KC and it is&lt;strong&gt; imported into LR&lt;/strong&gt; seamlessly.&lt;/p&gt;
  &lt;p&gt;On the other hand, I am developing a &lt;strong&gt;FrontEnd app&lt;/strong&gt;
    (Python + Flask) which &lt;strong&gt;consumes&lt;/strong&gt; Liferay's
      &lt;strong&gt;HeadLess API&lt;/strong&gt;.&lt;/p&gt;
  &lt;p&gt;I can log-in in the front-end app with KC but &lt;strong&gt;if I have
      never logged this user&lt;/strong&gt; in Liferay, It has never been
    imported into LR before from KC. So, even if I log the user in the
    FrontEnd app against KC, I am not able to get data with the headless
    API as far as this user has not been imported into LR.&lt;/p&gt;
  &lt;p&gt;How could I trigger the propagation of the user from KC to LR when
    I sign-in in the FrontEnd app?&lt;/p&gt;
  &lt;p&gt;I hoped it would be imported when making the first request to the
    HeadLess API with the JWT token.&lt;/p&gt;
&lt;/div&gt;</summary>
    <dc:creator>Aritz Galdos</dc:creator>
    <dc:date>2023-05-24T15:19:38Z</dc:date>
  </entry>
</feed>
