Welcome to the new Box Support website. Check out all the details here on what’s changed.

How to access application owner's files?

New post

Comments

2 comments

  • Jason

    Hey ,

     

    Thanks for your message. Your understanding of the situation appears to be correct. The best configuration would be to use Standard Authentication, which *does* require user interaction, but if you are able to maintain an access/refresh token pair within your application, they should only have to interact once. Once you obtain an access/refresh token for the specific user using Standard OAuth2, then you would be limited to just the one user's account as desired.

     

    Thanks,

    Jason

    0
    Comment actions Permalink
  • michalmalus

    Thank you  for your response.

     

    As this script is meant to run once a week I do not want to maintain token refreshes every hour.

    Since this is a service account, created purely for the purpose of this script, I am fine with putting account credentials in the script. Is there any configuration allowing such use case (with user interaction)?

     

    Or maybe some way to grant access for the script itself to particular files / directories?

     

    Uploading files automatically, without any user interaction, seems like a really basic use case... I can't believe that's not supported.

     

    Best Regards,

    Mike

    0
    Comment actions Permalink

Please sign in to leave a comment.