Legacy Knowledge Base
Published 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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

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