授权码授予错误:验证请求无效 [英] Authorization Code Grant error: invalid authentication request

查看:87
本文介绍了授权码授予错误:验证请求无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

到目前为止,我们尝试进行身份验证的尝试仅返回了错误,因为我们尝试遵循此处详细说明的指示: https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant

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

当我们发送此响应时:

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

我们收到错误消息:无效的身份验证请求:不支持响应类型。

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.

干杯,

推荐答案

如果代码授予类型正在返回不支持错误,最有可能是因为您已经为集成商密钥选中了这是一个移动应用程序复选框。要解决此问题,请登录DocuSign>转到管理> API&按键>编辑ikey>取消选中移动应用程序复选框。

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.

选中该复选框将禁用代码授予并启用隐式授予工作流(在此处记录: https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-implicit

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)

这篇关于授权码授予错误:验证请求无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆