What would you recommend is the best practice for managing app users:
A) Create once, store the app user ID in config, reuse for the lifetime of the application?
B) Create a new app user for every session of work and delete it at the end of the session?
The tutorial (https://docs.box.com/v2.0/docs/app-users) shows how to get an admin token, create a new app user, use it to do my work, and then deletes the app user. Under regular app use, would I create the app user once and then store the app user ID in my config to be reused for the lifetime of my application? Or is it best practice to create a user just for the duration of my session, and create a new user every time the application runs?
I'm using OAuth 2 with JWT for my app that interacts with Box using the C# (.NET Core) SDK.
Please sign in to leave a comment.