legacy-knowledge-base
Publicado Jun. 25, 2030

OpenID Connect Error - "Signed JWT rejected"

written-by

Jamilly Macedo

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • When configuring authentication using OpenID Connect, login fails and the following error is reported:

Unable to validate tokens: Signed JWT rejected: Another algorithm expected, or no matching key(s) found
  • This error arises when the RS265 is not listed as the first supported algorithm in the "id_token_signing_alg_values_supported" parameter of the discovery endpoint URL:
 "id_token_signing_alg_values_supported": [
  "PS384",
  "ES384",
  "RS384",
  "HS256",
  "HS512",
  "ES256",
  "RS256",
  "HS384",
  "ES512",
  "PS256",
  "PS512",
  "RS512"
 ],

Environment

  • DXP 7.3

Resolution

  • This is a known issue reported in LPS-185041. Contact the Liferay support team to build a hotfix or update de portal to DXP 7.3 Update 27.
  • As a workaround, users can delete the "Discovery Endpoint" URL and manually enter the information needed to configure the OpenID Connect Provider Connection. 

Additional Information

did-this-article-resolve-your-issue

legacy-knowledge-base