Authentication method for BOX API

New Contributor

Authentication method for BOX API

Im using JWT auth method with python SDK ,By using this method by API I can access the folder which is created by the app I created and can't access the folder which was created by other users in my organization.Is there any possible ways to get access to other's folder from my API by JWT method.

Box Employee

Re: Authentication method for BOX API

Hi @rajasegar,


Yes, what you'll need to do is authenticate as the user whose files / folders you'd like to access, rather than as the app (service account). There are two method for doing this:

  1. Generate a user access token (this is the one I'd recommend) 
  2. Send an as-user header with each request

- Jon