Adobe sign integration error
I am getting ERRORFailed to get refresh token error, while connecting to adobe sign from Adobe Sign integration page. I was taken to the adobe sign login page followed by permission page in a new tab. Upon clicking Allow the new tab is closed, and I see the original tab.
OAuth URL I used is https://secure.na4.echosign.com/public/oauth/v2
I see the following ajax request in the original window, which fails to obtain token.
https://localhost:8443/libs/adobesign/cloudservices/adobesign/createcloudconfigwizard/cloudservices/oauthcloudconfigservlet.json?client_id=CBJCHBCAABAAg0qsh2s6OYZEMVZ-DfuQbQkifhVRL1sX&client_secret=ciKriK_oapa-mZjWp4D8zR8IxV45Df1C&redirect_uri=https%3A%2F%2Flocalhost%3A8443%2Flibs%2Fadobesign%2Fcloudservices%2Fadobesign%2Fcreatecloudconfigwizard%2Fcloudservices.html%2Fconf%2FEsign&refresh_token_uri=nulloauth%2Ftoken&access_token_uri=nulloauth%2Frefresh&code=CBNCKBAAHBCAABAAkB1Xmj_ZIdRugZJEJmGnJGAoFCNgnPHJ&_=1655491258689
In AEM logs below error is logged. I tried updating access_token_uri and refresh_token_uri in the JCR tree directly to https://api.na4.adobesign.com/oauth/v2/token and https://api.na4.adobesign.com/oauth/v2/refresh . It still did not work.
Aprreciate ny help!
17.06.2022 14:10:07.962 *INFO* [sling-cq-polling-importer-5-myDataSource] com.day.cq.polling.importer.impl.PollingImporterImpl importData: Importing data from livefyreRightsImporter:myDataSource to /etc/importers/polling/livefyre-poller/jcr:content as polling-importer-service by com.adobe.social.integrations.livefyre.livefyreAssetImporter.impl.LivefyreRightsRequestPoller@66aa4b70
17.06.2022 14:10:59.173 *ERROR* [[0:0:0:0:0:0:0:1] [1655489459168] GET /libs/adobesign/cloudservices/adobesign/createcloudconfigwizard/cloudservices/oauthcloudconfigservlet.json HTTP/1.1] com.adobe.forms.foundation.oauth.util.OAuthHelperUtil Error while fetching the Refresh Token.
org.apache.http.client.ClientProtocolException: null
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187) [org.apache.httpcomponents.httpclient:4.5.4.B003]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) [org.apache.httpcomponents.httpclient:4.5.4.B003]