What are all possible values that can be passed for "scope" in box content API auth? -


box documentation @ https://developers.box.com/docs/#oauth-2, says user redirected authentication page in first leg of oauth, , application can pass parameter "scope".

scope: scope eventual auth token have. field not required. if not specified application default scope configured. if application has different kinds of users may need different types of scope, can provide comma separated list of scopes, give users lower scope if sign in different locations. if using provision-granted application, must specify alias: folder_readwrite use auth-code grant. type: string

but not find possible values can passed scope.

any appreciated.

my requirement restrict login box admins, if has other ideas please share.

if still need this, see possible values, check scopes in app (actually select checkboxes). then, in initial request box (i.e. https://app.box.com/api/oauth2/authorize) not include scope parameter. redirected box authorize page (login if necessary). there should hidden input possible scope values.

from scope settings received hidden input

name="scope" value="root_readwrite manage_enterprise manage_managed_users manage_groups manage_enterprise_properties"

hope helps!


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -