I am working on an app to integrate DocuSign with Freshservice. I am unable to do the authentication with DocuSign to get the access token.
I checked the issue and found that redirect URL from Freshservice contains this redirect URL redirect_uri=http%3A%2F%2Flocalhost%3A10001%2Fauth%2Fcallback%3Fcallback%3Dhttp%3A%2F%2Flocalhost%3A10001%2Fcustom_configs%3Fproduct%3Dfreshservice%26product%3Dfreshservice which cause an issue
Please advice us on how to send OAuth redirect URL from Freshservice.
Thanks for the solution, now it works after deployment
but still facing the same issue while trying to test the code on local
So, is there any way we can test the app on local
Hi,
I think DocuSign is not supporting the query params in redirect URL,
Kindly confirm,
if it is not supporting then you need to request the support from DocuSign.
I have got the reply from DocuSign support and they confirm that they allow query params in redirect URL.
1. You must define at least one redirect URI to implement any authentication scenario in your integration key configuration.
2. In the request URL the value supplied for redirect_uri must exactly match one of the defined ones in the integration key configuration
3. Redirect URI may include query parameter
3.1 For example: https://localhost:8080/public/index.php?page=ds_callback
4. It could take up to 5 minutes for the newly saved URI’s to take effect.
5. Fragment indicator (#) is not allowed as part of the URI as per OAuth
6. Redirect URI must include the full path to the host including protocol
6.1 For example: https://localhost:8080
We are also facing similar issues when using Google Authentication. After a little investigation, I have identified that there is a space in the redirect_uri URL generated by the FDK. It can be reproduced with/without redirect_uris entry in the oauth_config.json (It appears that FDK automatically uses the localhost URL for testing even if you enter a remote URL).