<?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>[OpenId] Redirect directly on provider when not logged</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=123117314" />
  <subtitle>[OpenId] Redirect directly on provider when not logged</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=123117314</id>
  <updated>2026-04-04T00:12:16Z</updated>
  <dc:date>2026-04-04T00:12:16Z</dc:date>
  <entry>
    <title>RE: RE: [OpenId] Redirect directly on provider when not logged</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123122083" />
    <author>
      <name>Zsigmond Rab</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123122083</id>
    <updated>2024-12-12T14:40:37Z</updated>
    <published>2024-12-12T14:40:36Z</published>
    <summary type="html">&lt;p&gt;Hi Florian,&lt;/p&gt;
&lt;p&gt;What is the target when you access the site? Is that a regular page?
  If so, have you configured the page already so that it needs
  authentication to access?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br&gt; Zsigmond &lt;/p&gt;</summary>
    <dc:creator>Zsigmond Rab</dc:creator>
    <dc:date>2024-12-12T14:40:36Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: [OpenId] Redirect directly on provider when not logged</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123121708" />
    <author>
      <name>Florian Pubert</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123121708</id>
    <updated>2024-12-12T09:26:42Z</updated>
    <published>2024-12-12T09:26:24Z</published>
    <summary type="html">&lt;p&gt;Hello Zsigmond,&lt;/p&gt;
&lt;p&gt;Without the private pages feature when accessing the site we are
  redirected to the liferay authentication screen.&lt;/p&gt;
&lt;p&gt;When clicking on the sign in button we are redirected to the provider
  open id authentication with the auth.login.url set to the OpenId
  configuration
  (https://help.liferay.com/hc/en-us/articles/4407989179661-How-to-Redirect-to-OpenID-Connect-Page-after-clicking-the-Sign-In-Button).
  Otherwise the user is redirected to the login portlet with the
  possibility to authenticate via login password or to select a Provider
  Open Id.&lt;/p&gt;
&lt;p&gt;The need is when accessing the site if the user is not logged in and
  the open id is enabled, to have the possibility to redirect the user
  directly to the provider authentication url. As mod_auth_openidc would
  do on an apache for OpenId authentication.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Florian&lt;/p&gt;</summary>
    <dc:creator>Florian Pubert</dc:creator>
    <dc:date>2024-12-12T09:26:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: [OpenId] Redirect directly on provider when not logged</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123121588" />
    <author>
      <name>Zsigmond Rab</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123121588</id>
    <updated>2024-12-12T08:26:59Z</updated>
    <published>2024-12-12T08:26:58Z</published>
    <summary type="html">&lt;p&gt;Hi Florian,&lt;/p&gt;
&lt;p&gt;Then I guess you want the users to be redirected to there in each
  case when they hit a restricted resource, right?&lt;/p&gt;
&lt;p&gt;If so, why doesn't it work now, without the private pages?&lt;/p&gt;
&lt;p&gt;I need more details to understand the real problem. Could you please
  describe the whole use case?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;br&gt; Zsigmond&lt;/p&gt;</summary>
    <dc:creator>Zsigmond Rab</dc:creator>
    <dc:date>2024-12-12T08:26:58Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: [OpenId] Redirect directly on provider when not logged</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123120196" />
    <author>
      <name>Florian Pubert</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123120196</id>
    <updated>2024-12-11T14:04:13Z</updated>
    <published>2024-12-11T14:04:10Z</published>
    <summary type="html">&lt;p&gt;When you don't have a public page you are redirected on Open Id
  Provider Page.&lt;/p&gt;
&lt;pre&gt;
&lt;span&gt;And adding this property :
auth.login.url=/home/-/login/openid_connect_request?p_p_state=maximized&amp;amp;_com_liferay_login_web_portlet_LoginPortlet_saveLastPath=false&amp;amp;_com_liferay_login_web_portlet_LoginPortlet_redirect=/&amp;amp;_com_liferay_login_web_portlet_LoginPortlet_OPEN_ID_CONNECT_PROVIDER_NAME=&lt;/span&gt;&lt;strong&gt;OpenId&lt;/strong&gt;&lt;/pre&gt;
&lt;p&gt;Change &lt;strong&gt;OpenId &lt;/strong&gt;by OpenId configuration provider name&lt;/p&gt;
&lt;p&gt;
  &lt;strong&gt;​​​​​​​&lt;/strong&gt;
&lt;/p&gt;</summary>
    <dc:creator>Florian Pubert</dc:creator>
    <dc:date>2024-12-11T14:04:10Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: [OpenId] Redirect directly on provider when not logged</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123120164" />
    <author>
      <name>Zsigmond Rab</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123120164</id>
    <updated>2024-12-12T14:19:30Z</updated>
    <published>2024-12-11T13:12:20Z</published>
    <summary type="html">&lt;p&gt;Hi Florian,&lt;/p&gt;
&lt;p&gt;Could you please describe how you solved it with a private page?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br&gt; Zsigmond&lt;/p&gt;</summary>
    <dc:creator>Zsigmond Rab</dc:creator>
    <dc:date>2024-12-11T13:12:20Z</dc:date>
  </entry>
  <entry>
    <title>RE: [OpenId] Redirect directly on provider when not logged</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123120013" />
    <author>
      <name>Florian Pubert</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123120013</id>
    <updated>2024-12-11T10:35:41Z</updated>
    <published>2024-12-11T10:35:41Z</published>
    <summary type="html">&lt;p&gt;Hello Zsigmond,&lt;/p&gt;
&lt;p&gt;No it's not or we don't know how to do this, cf ticket https://help.liferay.com/hc/en-us/requests/124408&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Florian&lt;/p&gt;</summary>
    <dc:creator>Florian Pubert</dc:creator>
    <dc:date>2024-12-11T10:35:41Z</dc:date>
  </entry>
  <entry>
    <title>RE: [OpenId] Redirect directly on provider when not logged</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123119978" />
    <author>
      <name>Zsigmond Rab</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123119978</id>
    <updated>2024-12-11T10:30:18Z</updated>
    <published>2024-12-11T10:30:18Z</published>
    <summary type="html">&lt;p&gt;Hi Florian,&lt;/p&gt;
&lt;p&gt;Would you not be able to do in the same way as you do with a private
  page but with using a permission restricted page instead?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br&gt; Zsigmond&lt;/p&gt;</summary>
    <dc:creator>Zsigmond Rab</dc:creator>
    <dc:date>2024-12-11T10:30:18Z</dc:date>
  </entry>
  <entry>
    <title>[OpenId] Redirect directly on provider when not logged</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123117313" />
    <author>
      <name>Florian Pubert</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123117313</id>
    <updated>2024-12-10T17:41:21Z</updated>
    <published>2024-12-09T13:25:42Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The need :&lt;/p&gt;
&lt;p&gt;Redirect user directly on OpenId Provider Page when user isn't logged
  and when the OpenId configuration is enabled.&lt;/p&gt;
&lt;p&gt;It was possible to do it with Private Page (deprecated feature), now
  we need to implements a servlet filter to respond to this need ... and
  it's not available on LXC.&lt;/p&gt;
&lt;p&gt;(How :
  https://help.liferay.com/hc/en-us/articles/4407989179661-How-to-Redirect-to-OpenID-Connect-Page-after-clicking-the-Sign-In-Button
  with no public page)&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Is it possible to add a configuration on OpenId to enabled/disabled
  this feature.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Florian&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Florian Pubert</dc:creator>
    <dc:date>2024-12-09T13:25:42Z</dc:date>
  </entry>
</feed>
