I have an iOS application which needs to work like this:
- Use Parse.com framework for custom cloud API and database.
As Box is HISPAA compliant, we need to store the files on box storage. The problem is that we are already authenticating the user via Parse and we want to use only one account for Box API without asking the app user to login to box API. My question here is:
Box uses OAuth 2.0 to perform authentication. On success it generates a token which is further used in all API calls. Can we store this token on the server and send it to all clients for further use? In this way we wont have to authenticate the user for box API. Will the same API token work from different devices ? Do we need to refresh the token after a certain period of time?