Box API 令牌请求企业配置问题 [英] Box API token request enterprise configuration issue

查看:23
本文介绍了Box API 令牌请求企业配置问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在调用 https://api.box.com/oauth2/token 以获取 user 的令牌.

I am making a call to https://api.box.com/oauth2/token to get a token for a user.

我得到 400 并出现以下错误:

I get a 400 with the following error:

Cannot obtain token based on the enterprise configuration for your app

我在任何地方都没有看到此错误消息的定义.知道我做错了什么吗?

I don't see this error message defined anywhere. Any ideas what I'm doing wrong?

推荐答案

这里的问题是我为非应用用户请求令牌,而我的应用配置为仅允许应用用户访问.

The issue here was that I was requesting a token for a non app user and my application was configured to allow access to app users only.

这篇关于Box API 令牌请求企业配置问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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