<?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>OIDC Login Shows Internal Server Error (JWK set Read Time Out)</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121915331" />
  <subtitle>OIDC Login Shows Internal Server Error (JWK set Read Time Out)</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121915331</id>
  <updated>2026-04-04T01:51:28Z</updated>
  <dc:date>2026-04-04T01:51:28Z</dc:date>
  <entry>
    <title>RE: OIDC Login Shows Internal Server Error (JWK set Read Time Out)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121973808" />
    <author>
      <name>c carlos.eduardo.perez.quijada@emeal.nttdata.com</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121973808</id>
    <updated>2023-08-10T14:48:50Z</updated>
    <published>2023-08-10T10:57:44Z</published>
    <summary type="html">&lt;p&gt;Hi, Have you been setup custom policy in Azure B2C?. As I am
  currently receiving this error:  [StatusDisplayContext:92] Error:
  Unable to parse tokens response from
  https://XXX.b2clogin.com/XXX.onmicrosoft.com/b2c_1a_signup_signin/oauth2/v2.0/token:
  Missing JSON object member with key &amp;quot;access_token&amp;quot;. I have
  opened a foro &lt;a
    href="https://liferay.dev/ask/questions/all/liferay-7-4-openid-connect-with-azure-b2c"&gt;Liferay
    7.4 OpenID Connect with Azure B2C&lt;/a&gt;&lt;/p&gt;</summary>
    <dc:creator>c carlos.eduardo.perez.quijada@emeal.nttdata.com</dc:creator>
    <dc:date>2023-08-10T10:57:44Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: OIDC Login Shows Internal Server Error (JWK set Read Time Out)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121925227" />
    <author>
      <name>Anish Kumar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121925227</id>
    <updated>2023-07-14T02:40:16Z</updated>
    <published>2023-07-14T02:40:13Z</published>
    <summary type="html">&lt;p&gt;Thank you for sharing the issue URL.&lt;/p&gt;
&lt;p&gt;Have you resolved this issue? Please share the solution if any&lt;/p&gt;</summary>
    <dc:creator>Anish Kumar</dc:creator>
    <dc:date>2023-07-14T02:40:13Z</dc:date>
  </entry>
  <entry>
    <title>RE: OIDC Login Shows Internal Server Error (JWK set Read Time Out)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121922802" />
    <author>
      <name>Jan Tošovský</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121922802</id>
    <updated>2023-07-13T14:08:09Z</updated>
    <published>2023-07-13T14:08:06Z</published>
    <summary type="html">&lt;p&gt;It resembles my issue I reported here https://liferay.atlassian.net/browse/LPS-178327&lt;/p&gt;</summary>
    <dc:creator>Jan Tošovský</dc:creator>
    <dc:date>2023-07-13T14:08:06Z</dc:date>
  </entry>
  <entry>
    <title>OIDC Login Shows Internal Server Error (JWK set Read Time Out)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121915330" />
    <author>
      <name>Anish Kumar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121915330</id>
    <updated>2023-07-10T05:18:56Z</updated>
    <published>2023-07-10T05:18:55Z</published>
    <summary type="html">&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I have configured Azure AD OIDC for SSO in the Liferay CE 7.4.3.74
  version. Its working fine but sometimes when user try to login using
  SSO the portal shows Internal server error and in the log I can see
  below message and its not consistent.&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;[StatusDisplayContext:92] Error: Unable to validate tokens for
    client &amp;quot;abc-232-46ce-b5f7-xyz&amp;quot;: Couldn't retrieve remote
    JWK set: Read timed out&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;How can I fix this error?&lt;/p&gt;
&lt;p&gt;Also let me know is there a way to show toast message instead of
  below Internal Server Error messag?&lt;/p&gt;
&lt;p&gt;
  &lt;img alt="" src="/documents/d/guest/screenshot-2023-07-10-104712-png?imagePreview=1"&gt;
  &lt;br&gt; Waiting for a solution, Thank You&lt;/p&gt;</summary>
    <dc:creator>Anish Kumar</dc:creator>
    <dc:date>2023-07-10T05:18:55Z</dc:date>
  </entry>
</feed>
