We're exploring Box as an integration point between
- Our organization (we/us), where we have a Box enterprise account
- Outside clients (they/them) who do not have a Box account
Ideally, each outside client would upload files to a designated/restricted folder and we would pick them up. Both of us would use the SDK. In other words, both ends of this workflow are server-to-server:
them (upload)--> Box <--(download) us
We've read the docs - sorry if we missed something - and have a working POC for the OAuth 2.0 with JWT flow. Within that flow, we're able to use the SDK to establish a session from the JWT and within that session create clients and users, even using techniques like "as user", collaboration, downscoping, and shared folders to impersonate users, restrict access, and share files.
But we're not clear how we would make this work for the scenario described above, except by
- providing them with the JWT, which would be insecure
- having them set up their own Box account, so they have their own JWT, and then adding them as collaborators
- Other?
We are able to authenticate the outside clients using credentials they have with us. So we could provide them with a Box user token once they've authenticated with us. But then using the Box SDK, how could they use this token without also requiring a Box session, which seems to require a JWT?
Hope we haven't missed something obvious. Thanks!
