什么是允许非服务帐户使用api的Box.com配置设置?

时间:2017-02-01 15:58:18

标签: api box

我的box.com应用设置具有以下权限:

我的应用安全设置

setup

管理控制台 - >业务设置 - >应用 - > (根据行动) - >点击你应用的省略号 - >查看应用授权

app auth

但是现在,我收到此问题中描述的错误消息"BoxOAuthException: {"error":"invalid_request","error_description":"Cannot obtain token based on the enterprise configuration for your app"}" - > Box API token request enterprise configuration issue

什么是允许非服务帐户使用api的Box.com配置设置?

1 个答案:

答案 0 :(得分:1)

在您的应用中,您可以转到“用户访问”部分并将其设置为“所有用户”

enter image description here

现在需要重新授权所有现有的应用程序授权。

要执行此操作... admin console -> business settings -> apps -> (under actions) -> click on ellipses of your app -> view app authorization

请注意,下面您可能会看到“只有应用用户可以使用应用”

app auth

如果是这样的话......重新授权应用admin console -> business settings -> apps -> (under actions) -> click on ellipses of your app -> reauthorize

现在应该说“所有用户都可以连接。”

enter image description here