How to manage the box users?
Hello All,
I have a requirement where I am to create a script to allow users to login to their box account. All the users are enterprise users. The user will login to his/her box account via the script without going to box login page. The script will give the option of uploading or downloading files from the user root folder. Can someone please share their experience and examples as to how this can be acheived and if at all this is possible. Please see we are looking at box python sdk for acheiving this. Any help or suggestion is appreciated.
Thanks
-
Rather than trying to rewrite the Box UI in Python, which seems like a pretty massive task, I think it might be a LOT less work (and ongoing maintenance) to set up single sign on with Box. See https://community.box.com/t5/For-Admins/Single-Sign-On-SSO-with-Box-For-Administrators/ta-p/1263 for details.
Another easier alternative, short of implementing SSO, would be to write a python interface to allow your users to set/reset their Box passwords after authenticating with their company credentials.
Hope that helps!
Ian -
To be a little mor clear onto what is expected: The script is primarily for sending kind of Get/Pst request for allowing users to login with their email ids and apssword for box. Email id in this case happens to be the enterprise email id. The SSO is already active for all these users.
The problem is the follwing: Do we need to generate a developer key for each user or do we need to request an access token for each user?
What are the steps for generating the access token for authorizing the user via this script and what are the essential parameters needed to keep this access token active for a long duration?
I have not been able to find adequate examples/discussions on this topic apart from the OAUTh2 pointer and I am unable to relate how to establish this OAUTH2 requirement for a regular user who will be running this script.
Your inputs and suggestions will be highly valuable.
Thanks
Please sign in to leave a comment.
Comments
2 comments