Accses using script
AnsweredHello,
I want to create a small python script for my organization.
each user will type its username and password, and the script could up/download files.
I read all about developer apps - but it's just not suitable. I just want to create a simple script with the regular username and password that the users already have.
How can I do it?
Thanks
-
Hi there,
If you want users to log in to their Box accounts for you to access files, then I'd recommend the standard OAuth 2 flow. Your application will redirect the user to Box to log in and grant permissions to your app, then they'll be forwarded back to your app. You can then use the token scoped for their account to access files / folders.
That'll probably be the best method for your use case as we do not support usernames / passwords being passed in the API requests as it's not secure.
Please sign in to leave a comment.
Comments
1 comment