<?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>Manage 401 error utility page</title>
  <link rel="self" href="https://liferay.dev/es/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=123006878" />
  <subtitle>Manage 401 error utility page</subtitle>
  <id>https://liferay.dev/es/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=123006878</id>
  <updated>2026-04-17T16:56:40Z</updated>
  <dc:date>2026-04-17T16:56:40Z</dc:date>
  <entry>
    <title>RE: RE: Manage 401 error utility page</title>
    <link rel="alternate" href="https://liferay.dev/es/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123042439" />
    <author>
      <name>Zsigmond Rab</name>
    </author>
    <id>https://liferay.dev/es/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123042439</id>
    <updated>2024-10-24T15:21:59Z</updated>
    <published>2024-10-24T15:21:24Z</published>
    <summary type="html">&lt;p&gt;Hi Eric,&lt;/p&gt;
&lt;p&gt;So do the users use a remote app which redirects them to a page in
  the Liferay portal? Or does the app render the portal pages for them?&lt;/p&gt;
&lt;p&gt;Sorry, but it is still not clear how the Utility Pages are involved.
  I guess, the remote app makes remote (Headless) API calls and
  processes the requests. For such requests the (Headless) API framework
  sends HTTP codes back that the remote app can interpret and do
  whatever it wants to do with them. At this step Utility Pages cannot help.&lt;/p&gt;
&lt;p&gt;Utility Pages can operate when the user accesses some portal page or
  resource in a client which shows a portal page as a result. In the
  case of 404 or 500 HTTP errors, it can respond with an error specific
  Utility Page indeed, but generally it is not a case for remote apps.
  If it is in your case, could you please describe with a step by step,
  how it happens?&lt;/p&gt;
&lt;p&gt;On the other hand, when a user is interacting with portal resources,
  pages in a browser and there is an authentication or authorization
  failure, the response is generally a 404 because of security reasons.
  It is intended in the portal not to give too much info about that if
  there is an authentication or authorization failure because it may
  potentially open a security flaw.&lt;/p&gt;
&lt;p&gt;However, I may still be mistaken at understanding your case so please
  share more details if you think this is that case.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br&gt; Zsigmond&lt;/p&gt;</summary>
    <dc:creator>Zsigmond Rab</dc:creator>
    <dc:date>2024-10-24T15:21:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Manage 401 error utility page</title>
    <link rel="alternate" href="https://liferay.dev/es/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123042003" />
    <author>
      <name>Eric DARIEL</name>
    </author>
    <id>https://liferay.dev/es/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123042003</id>
    <updated>2025-10-21T05:12:37Z</updated>
    <published>2024-10-24T06:34:22Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes it is one case.&lt;/p&gt;
&lt;p&gt;A user can access to a detail page from the remote app but he can
  switch between 2 remote apps or go to the page with a link or change
  manually the url with a wrong id.&lt;/p&gt;
&lt;p&gt;The webservice can answer 200, 204, 401, 403... for us 404 is the
  page does not exist and we prefer to know the real problem... May be
  the user have a 401 but it is because we have miss a configuration.&lt;/p&gt;
&lt;p&gt;Our users are not guests, they are authentificated so we trust
  them... we have to know what is their real problem.&lt;/p&gt;
&lt;p&gt;Of course we can create a 401, 403... response in each remote apps
  but for us Utility Pages are a better and native solution.&lt;/p&gt;
&lt;p&gt;It is more flexible to change a master page than to redeploy all of
  our remote apps.&lt;/p&gt;
&lt;p&gt;Eric.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Eric DARIEL</dc:creator>
    <dc:date>2024-10-24T06:34:22Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Manage 401 error utility page</title>
    <link rel="alternate" href="https://liferay.dev/es/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123034603" />
    <author>
      <name>Zsigmond Rab</name>
    </author>
    <id>https://liferay.dev/es/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123034603</id>
    <updated>2024-10-21T09:01:42Z</updated>
    <published>2024-10-21T09:01:40Z</published>
    <summary type="html">&lt;p&gt;Hi Eric,&lt;/p&gt;
&lt;p&gt;So your remote app redirects the user to a Liferay portal page after
  a remote call and that throws a 401 or 403, right? It's not about the
  response to the remote call, right? Is my understanding correct?&lt;/p&gt;
&lt;p&gt;If so however, I was just thinking in what circumstances does the
  portal give a 401 or 403? Could you please describe how exactly you
  can get such errors? It would help to define the clear use case.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;br&gt; Zsigmond&lt;/p&gt;</summary>
    <dc:creator>Zsigmond Rab</dc:creator>
    <dc:date>2024-10-21T09:01:40Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Manage 401 error utility page</title>
    <link rel="alternate" href="https://liferay.dev/es/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123031516" />
    <author>
      <name>Eric DARIEL</name>
    </author>
    <id>https://liferay.dev/es/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123031516</id>
    <updated>2025-10-21T05:12:37Z</updated>
    <published>2024-10-18T15:44:13Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I ask for 401 but why not 403 or all other errors.&lt;/p&gt;
&lt;p&gt;In our case, we are using remoteApps and they can redirect to a wrong
  page or an unauthorized ressource.&lt;/p&gt;
&lt;p&gt;Eric.&lt;/p&gt;</summary>
    <dc:creator>Eric DARIEL</dc:creator>
    <dc:date>2024-10-18T15:44:13Z</dc:date>
  </entry>
  <entry>
    <title>RE: Manage 401 error utility page</title>
    <link rel="alternate" href="https://liferay.dev/es/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123030114" />
    <author>
      <name>Zsigmond Rab</name>
    </author>
    <id>https://liferay.dev/es/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123030114</id>
    <updated>2024-10-17T08:14:31Z</updated>
    <published>2024-10-17T08:14:31Z</published>
    <summary type="html">&lt;p&gt;Hi Eric,&lt;/p&gt;
&lt;p&gt;Could you please give me the context? What is the exact use case when
  you would need it?&lt;/p&gt;
&lt;p&gt;Thank you,&lt;br&gt; Zsigmond&lt;/p&gt;</summary>
    <dc:creator>Zsigmond Rab</dc:creator>
    <dc:date>2024-10-17T08:14:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: Manage 401 error utility page</title>
    <link rel="alternate" href="https://liferay.dev/es/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123027686" />
    <author>
      <name>Jamie Sammons</name>
    </author>
    <id>https://liferay.dev/es/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123027686</id>
    <updated>2024-10-15T17:14:41Z</updated>
    <published>2024-10-15T17:14:41Z</published>
    <summary type="html">&lt;p&gt;Feature Request Created: https://liferay.atlassian.net/browse/LPD-39421&lt;/p&gt;</summary>
    <dc:creator>Jamie Sammons</dc:creator>
    <dc:date>2024-10-15T17:14:41Z</dc:date>
  </entry>
  <entry>
    <title>Manage 401 error utility page</title>
    <link rel="alternate" href="https://liferay.dev/es/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123006877" />
    <author>
      <name>Eric DARIEL</name>
    </author>
    <id>https://liferay.dev/es/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123006877</id>
    <updated>2025-10-21T05:12:37Z</updated>
    <published>2024-10-05T18:22:48Z</published>
    <summary type="html">&lt;p&gt;This is a feature request, it would be great to have an utility page
  for 401 errors.&lt;/p&gt;
&lt;p&gt;Eric.&lt;/p&gt;</summary>
    <dc:creator>Eric DARIEL</dc:creator>
    <dc:date>2024-10-05T18:22:48Z</dc:date>
  </entry>
</feed>
