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.
-
Hi ,
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:
- Generate a user access token (this is the one I'd recommend)
- Send an as-user header with each request
- Jon
Please sign in to leave a comment.
Comments
1 comment