Authorization Code Grant error: invalid authentication request

牧云@^-^@ 提交于 2020-05-17 06:47:05

问题


Our attempts at authentication have thus far returned only errors as we try to follow the directions detailed here: https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant

When we send this response:

https://account-d.docusign.com/oauth/auth?response_type=code&scope=signature%20impersonation&client_id=3f67330c-2cbf-43f6-9ea5-e295cd646840&redirect_uri=http://138.68.27.51:8080/signCallback#/username

we get an error: "Invalid authentication request: The response type is not supported."

The type is code as described in the Authorization Code Grant document.

Any advice would be greatly appreciated.

Cheers,


回答1:


If 'code' grant type is returning the 'not supported' error, it's most likely because you've checked the 'This is a mobile app' checkbox for the integrator key. To resolve, log in to DocuSign > Go to Admin > API & Keys > Edit the ikey > Uncheck the mobile app checkbox.

Checking that box disables Code Grant and enables the Implicit Grant workflow (documented here: https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-implicit)



来源:https://stackoverflow.com/questions/52869092/authorization-code-grant-error-invalid-authentication-request

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!