Hello,
We are trying to test docuSign Authentication from freshservice OAuth2.0 locally and facing an issue with redirect URL which is not as expected
Result : http://localhost:10001/auth/callback?callback=http://localhost:10001/custom_configs?product=freshservice&product=freshservice
Expected : http://localhost:10001/auth/callback
But works fine on production
So is there any way i can test the app locally
{
"client_id": "*****************************",
"client_secret": "*******************************",
"authorize_url": "https://account-d.docusign.com/oauth/auth",
"token_url": "https://account-d.docusign.com/oauth/code",
"options": {
"scope": "signature"
},
"token_type": "account"
}
Hey, @Hassan_Tasleem1 !
For test purpose, try to add to oauth_config.json the redirect_url:
"options": {
"scope": "signature",
"redirect_url": [
"http://localhost:10001/auth/callback"
]
}
2 Likes
Saif
(Saif Ali Shaik)
January 27, 2021, 3:45am
4
@Hassan_Tasleem1
Could you try whitelisting the ‘Result’ URL ?
Apparently it has worked with one of our community members,
Hi @ManiDeepak_Vandrangi, Yes, it works. I tried with - http://localhost:10001/auth/callback?callback=http://localhost:10001/custom_configs?product=freshchat&product=freshchat It’s really strange, i tried like this before making this post....
Please let me know if that worked for you?
1 Like
Hi, @samuelpares ,
I’ve already tried this but it didn’t work
Hi @Saif ,
I tried to request after whitelisting the domain but now after OAuth login it takes me to http://localhost:10001/auth/index?callback=http://localhost:10001/custom_configs?product=freshservice
this URL which cause an error of The Page isn't working
Saif
(Saif Ali Shaik)
January 29, 2021, 11:19am
7
Isn’t the URL supposed to be having callback
instead of index
?
As in,
http://localhost:10001/auth/callback?callback=http://localhost:10001/custom_configs?product=freshservice
1 Like