Adobe Sign OAuth connection fails with Missing parameters client_secret in AEM Forms

This article explains how to resolve a 401 error with the message Missing parameters: client_secret that occurs when integrating Adobe Sign with AEM Forms LTS SP2 using OAuth. In Adobe Experience Manager Forms, the OAuth connection fails because AEM does not allow the client secret parameters required for Adobe Sign integration. To fix this issue, update the Expression Security Configuration to allow the required Adobe Sign client secret parameters.

Description description

Environment

Adobe Experience Manager (AEM) Forms LTS SP2 JEE (turnkey)

Issue/Symptoms

  • When configuring Adobe Sign integration in AEM Forms, the OAuth connection fails after login and authorization.
  • The following error appears in the AEM error log: com.adobe.forms.foundation.oauth.util.OAuthHelperUtil failed to fetch access token for resource : , status code : 401, error : {“error_description”:“Missing parameters: client_secret”,“error”:“invalid_request”}
  • The Client Secret field in the AEM Sign cloud configuration appears blank when editing the configuration.
  • The Connect to Adobe Sign button remains disabled until Adobe Acrobat Sign is reselected under the Select Solution dropdown.

Cause

The AEM Forms Expression Security Configuration does not allow the client secret parameters required for Adobe Sign OAuth integration. As a result, the client_secret is not sent, leading to a 401 error from Adobe Sign.

Resolution resolution

Follow the steps below to resolve the issue.

  1. Open the AEM Web Console Configuration Manager by navigating to /system/console/configMgr in your browser.

  2. Locate and open Expression Security Configuration.

  3. In the Allowed Keywords section, click the + button to add new entries.

  4. Add the following strings exactly as shown:

    code language-none
    adobesign-cloudconfiguration-client-secret
    adobesign-cloudconfiguration-client-secret-encrypted
    
  5. Save the configuration changes.

  6. Retry configuring the Adobe Sign Cloud Configuration in AEM Forms.

  7. Verify that the connection to Adobe Sign completes without errors.

recommendation-more-help
experience-cloud-kcs-help-kbarticles