【问题标题】:Autodesk Forge Authentication - "The client_id specified does not have access to the api product"Autodesk Forge 身份验证 - “指定的 client_id 无权访问 api 产品”
【发布时间】:2018-03-15 06:19:10
【问题描述】:

尝试按照教程进行操作,但无法通过身份验证。从 OSX 外壳:

curl -v 'https://developer.api.autodesk.com/authentication/v1/authenticate' -X 'POST' -H 'Content-Type: application/x-www-form-urlencoded' -d 'client_id=MY_CLIENT_ID&client_secret=MY_SECRET&grant_type=client_credentials&scope=data:read'

我回来了: ... * 到主机 developer.api.autodesk.com 的连接 #0 保持不变 { "developerMessage":"指定的client_id无权访问api产品","userMessage":"","errorCode":"AUTH-001","more info":"http://developer.api.autodesk.com/documentation/v1/errors/AUTH-001"}

我已启用应用配置页面中的所有 API。

我重新生成了两次密钥 - 结果相同。

如果我以某种方式搞砸了 client_id/secret 密钥,看起来我会收到 AUTH-003 错误,所以我认为这不是问题所在。

文档列出了几个可能的错误,但没有列出 AUTH-001。

关于如何调试的任何想法?

TIA

【问题讨论】:

    标签: authentication


    【解决方案1】:

    解决这个问题的唯一方法是删除该应用程序并从头开始创建一个全新的应用程序。新的 ID/Secret 有效。

    【讨论】:

      猜你喜欢
      • 2022-09-23
      • 2018-10-13
      • 2018-07-20
      • 2016-12-08
      • 2019-06-15
      • 2019-12-27
      • 2019-08-19
      • 2021-06-03
      • 2013-06-18
      相关资源
      最近更新 更多