legacy-knowledge-base
公開されました Jun. 30, 2025

OpenID Connect Client Secret field must be filled

written-by

Sergio Alonso

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

  • I configured an OpenID Connect Provider Connection.
  • When I try to login using the OpenID  Connect Client Name, I get an internal server error.
  • In logs, a java exception is thrown:
    WARN [http -nio-8080-exec-2][PortalImp1:6018] The client secret must not be null
    java.lang.IllegalArgumentException: The client secret must not be null
    at com.nimbusds.oauth2.sdk.auth .PlainClientSecret.<init(PlainClientSecret.java:59) -[oauth2-oidc-sdk-8.11.jar:8.11]
    at com.nimbusds.oauth2.sdk.auth .ClientSecretBasic.<init›(ClientSecretBasic.java:74) -[oauth2-oidc-sdk-8.11.jar:8.11]
    at com.liferay.portal.security. sso.openid.connect.internal.util.OpenIdConnectTokenRequestUtil._requestOIDCTokens(OpenIdConnectTokenRequestUtil.java:115) -[bundleFile:?]
    at com.liferay.portal.security.sso.openid.connect.internal.util.OpenIdConnectTokenRequestUtil._request(OpenIdConnectTokenRequestUtil.java:75) -[bundleFile:?]

Environment

  • 2023.Q4

Resolution

  • Check the field 'OpenID Connect Client Secret' has a valid non-null value in the configured OpenID Connect Provider Connection.

Additional Information

did-this-article-resolve-your-issue

legacy-knowledge-base