{"action":"closed","issue":{"url":"https://api.github.com/repos/box/box-python-sdk/issues/101","labels_url":"https://api.github.com/repos/box/box-python-sdk/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/box/box-python-sdk/issues/101/comments","events_url":"https://api.github.com/repos/box/box-python-sdk/issues/101/events","html_url":"https://github.com/box/box-python-sdk/issues/101","id":124099953,"number":101,"title":"Enterprise Issues? Missing Documentation?","user":{"login":"csduarte","id":9515253,"avatar_url":"https://avatars.githubusercontent.com/u/9515253?v=3","gravatar_id":"","url":"https://api.github.com/users/csduarte","html_url":"https://github.com/csduarte","followers_url":"https://api.github.com/users/csduarte/followers","following_url":"https://api.github.com/users/csduarte/following{/other_user}","gists_url":"https://api.github.com/users/csduarte/gists{/gist_id}","starred_url":"https://api.github.com/users/csduarte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csduarte/subscriptions","organizations_url":"https://api.github.com/users/csduarte/orgs","repos_url":"https://api.github.com/users/csduarte/repos","events_url":"https://api.github.com/users/csduarte/events{/privacy}","received_events_url":"https://api.github.com/users/csduarte/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-28T18:02:12Z","updated_at":"2015-12-30T05:51:44Z","closed_at":"2015-12-30T05:51:44Z","body":"Hello,\r\n\r\nI'm working with the library to manage a large enterprise account. I've created a test account to play with, and having a difficult time making any relevant steps. This may have to do with the settings of the box account itself, but I've exhausted the variations of settings.\r\n\r\nUsing the standard OAuth authentication works, but inevitably runs into insufficient privileges when trying to modify other users, despite being the admin. The JWT method of auth seems to the way to go, but fails when the permissions are set to standard box users. When I set the account to manage app users, it works, but can not manage the standard box users at that point.\r\n\r\nBasic Script:\r\n```\r\n# coding: utf-8\r\nfrom boxsdk import JWTAuth\r\n\r\ndef store_tokens(access_token, refresh_token):\r\n    # store the tokens at secure storage (e.g. Keychain)\r\n    return\r\n\r\nauth = JWTAuth(\r\n    client_id                       =   \"...\",\r\n    client_secret                   =   \"...\",\r\n    enterprise_id                   =   \"...\",\r\n    rsa_private_key_file_sys_path   =   \"./key.pem\",\r\n    store_tokens                    =   store_tokens,\r\n)\r\n\r\naccess_token = auth.authenticate_instance()\r\n\r\nfrom boxsdk import Client\r\n\r\nclient = Client(auth)\r\n```\r\n\r\nThe error is...\r\n```\r\nMessage: {\"error\":\"invalid_scope\",\"error_description\":\"Unsupported \\\"scope\\\": manage_app_users\"}\r\n```\r\nWhich seems obvious, but I don't want to manage app users, I want to manage the standard box users, which is why the settings are set as so in the developer portal.\r\n\r\nSo my questions are, is there something I'm missing from the readme? the portal? the api docs? I've combed through most of it looking for a solution.\r\n\r\nThank you."}}