Skip to main content
Participant
October 4, 2021
Question

Unable to perform OAuth from server but working in local

  • October 4, 2021
  • 1 reply
  • 419 views

Hi Team,

 

I am trying to generate a OAUTH token using the rest api of adobe sign.

We tried using a clientid and secret (Partner App/Customer App)  it works from local. but from production environment its throwing up an error.

Here is the auth url we tried below :-

 

1.
https://secure.na1.echosign.com/public/oauth?redirect_uri=https://claritycrm.com/listener/Adobe/AdobeSign.aspx&response_type=code&client_id=CBJCHBCAABAAQR8ISbwGWPZXLkYyWykwuxwKM3WYB69i&scope=user_login:self+agreement_send:account+webhook_read:account+webhook_write:account+webhook_retention:account&state=aniketcx

2. 
https://secure.adobesign.com/public/oauth?redirect_uri=https://claritycrm.com/listener/Adobe/AdobeSign.aspx&response_type=code&client_id=CBJCHBCAABAAQMb6LQx3fdArj_nSKuXwVQQcQ0NzLngT&scope=user_login:self+agreement_send:account+webhook_read:account+webhook_write:account+webhook_retention:account&state=aniketcx

Both seems to work from local environment how ever not working from prod.

 

The error we are getting is :- 
Unable to authorize access because the client configuration is invalid: invalid_request


We clarified all the components like redirect_uri, client_id, response_type.


Please advice!



This topic has been closed for replies.

1 reply

Participant
October 4, 2021

however we are not sure of the oauth url or the shard. like na1, na2.

Could you please advice where exactly to get the shard from?

Adobe Employee
October 4, 2021

use the documentation available here https://secure.eu1.echosign.com/public/static/oauthDoc.jsp in case you are not already.

Shard (eu1 in my link above) is important. Login your Sign account and check the browser address bar to establish which shard your Sign account is in.