【问题标题】:What is the Box.com configuration setting to allow non-service accounts to use the api?什么是 Box.com 配置设置以允许非服务帐户使用 api?
【发布时间】:2017-02-01 15:58:17
【问题描述】:

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

我的应用程序安全设置

管理控制台 -> 业务设置 -> 应用 ->(在操作下)-> 点击应用的省略号 -> 查看应用授权

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

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

【问题讨论】:

    标签: api box


    【解决方案1】:

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

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

    为此...admin console -> business settings -> apps -> (under actions) -> click on ellipses of your app -> view app authorization

    注意在下面你可能会看到“只有应用用户可以使用应用”

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

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

    【讨论】:

    • 你授权了吗?
    • 我可以获取文件等,并且可以列出组。但我无法列出用户。
    • 如何判断我是否正确设置了授权?
    • 转到管理控制台 -> 企业设置 -> 应用程序 ->(在操作下)-> 单击应用程序的省略号 -> 查看应用程序授权。如果它没有正确的权限,请重新授权。
    • 你的意思是业务设置?
    猜你喜欢
    • 1970-01-01
    • 2012-07-08
    • 1970-01-01
    • 1970-01-01
    • 2014-08-06
    • 2014-10-10
    • 1970-01-01
    • 2014-07-16
    • 1970-01-01
    相关资源
    最近更新 更多