<?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>Id token encryption problem with OpenID Connect identity  provider</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111550791" />
  <subtitle>Id token encryption problem with OpenID Connect identity  provider</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111550791</id>
  <updated>2026-04-06T16:41:36Z</updated>
  <dc:date>2026-04-06T16:41:36Z</dc:date>
  <entry>
    <title>RE: Id token encryption problem with OpenID Connect identity  provider</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118381208" />
    <author>
      <name>Tomáš Polešovský</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118381208</id>
    <updated>2020-01-30T11:44:38Z</updated>
    <published>2020-01-30T11:44:38Z</published>
    <summary type="html">I believe JWE is not supported on Liferay side yet. Only JWS.</summary>
    <dc:creator>Tomáš Polešovský</dc:creator>
    <dc:date>2020-01-30T11:44:38Z</dc:date>
  </entry>
  <entry>
    <title>RE: Id token encryption problem with OpenID Connect identity  provider</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118339954" />
    <author>
      <name>Jack Bakker</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118339954</id>
    <updated>2020-01-25T13:21:24Z</updated>
    <published>2020-01-25T13:21:24Z</published>
    <summary type="html">I am also seeing this issue when trying to configure Liferay v7.2.1 as OIDC client to Apereo CAS v6.1 as OIDC provider. &amp;#34;Unable to instantiate token validator: Missing required ID token JWE encryption method for RSA1_5&amp;#34;. In Apereo CAS, there is a service config for &amp;#34;encryptIdToken&amp;#34;: false, but this doesn&amp;#39;t make a difference to Liferay. </summary>
    <dc:creator>Jack Bakker</dc:creator>
    <dc:date>2020-01-25T13:21:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: Id token encryption problem with OpenID Connect identity  provider</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111786451" />
    <author>
      <name>David Bougearel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111786451</id>
    <updated>2018-12-12T14:37:02Z</updated>
    <published>2018-12-12T14:37:02Z</published>
    <summary type="html">&lt;p&gt;Hi Teddy,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The message given came from the nimbusds library where the
  OIDCClientInformation given by liferay do not provide the
  IDTokenJWEEnc expected.&lt;/p&gt;
&lt;p&gt;In order to be able to make it working, you need to address two
  points : override the OpenIdConnectMetadataFactory to add the
  IDTokenJWEEnc when the OIDCClientMetadata is build and second point,
  you need to override the OpenIDConnect configuration to be able to add
  this new parameter from the UI.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;David.&lt;/p&gt;</summary>
    <dc:creator>David Bougearel</dc:creator>
    <dc:date>2018-12-12T14:37:02Z</dc:date>
  </entry>
  <entry>
    <title>RE: Id token encryption problem with OpenID Connect identity  provider</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111652736" />
    <author>
      <name>Teddy Kossoko</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111652736</id>
    <updated>2018-11-23T13:49:28Z</updated>
    <published>2018-11-23T13:49:28Z</published>
    <summary type="html">Please, could you help me ?</summary>
    <dc:creator>Teddy Kossoko</dc:creator>
    <dc:date>2018-11-23T13:49:28Z</dc:date>
  </entry>
  <entry>
    <title>Id token encryption problem with OpenID Connect identity  provider</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111550790" />
    <author>
      <name>Teddy Kossoko</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111550790</id>
    <updated>2018-11-14T16:04:38Z</updated>
    <published>2018-11-14T16:04:38Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I'm trying to use Gluu as a OpenID Connect identity provider for
  Liferay. I ran into the following error: &amp;quot;Caused by:
  com.nimbusds.oauth2.sdk.GeneralException: Missing required ID token
  JWE encryption method for RSA1_5&amp;quot;. It leads me to believe that
  Liferay is expecting the id token to be encrypted although it's not
  required by the OpenID Connect standard. I tried different encryption
  algorithms settings inside of Gluu. But it seems like I need a Liferay
  plublic encryption key (JWKS) or the URI where those keys can be
  accessed (JWKS URI) because without it I'm getting another error
  &amp;quot;NullPointerException: null&amp;quot;.&lt;/p&gt;
&lt;p&gt;Thanks for the help.&lt;/p&gt;</summary>
    <dc:creator>Teddy Kossoko</dc:creator>
    <dc:date>2018-11-14T16:04:38Z</dc:date>
  </entry>
</feed>
