Does Box support the oauth 2 device flow?
Hi, I am developing an application that will run on an hpc cluster, and I cannot guarantee the computer/port number for a callback URL for the oauth dance. Is it a bad idea to use the oauth device flow? Can my application perform the oauth 2 device authentication flow with box?
-
Official comment
Hey Daniel!
Thanks for the question! I'm interested to hear more. What exactly is your application going to be doing? With Box's Oauth flow, a user would need to interact with a UI. It will also redirect to a url after a user approves/logs in. You can manually set the url like it is described here in the redirect user section.
Thanks,
Alex, Box Developer Advocate
Comment actions -
Hi Alex,
My use case is that I am reading data from box on a cluster compute node that doesn't have direct access to the internet, but I could create an ssh tunnel to the cluster head node. The issue is that one the app is started, the user typically doesn't interact with the application. So I think we need to get the tokens in advance.
Daniel
Please sign in to leave a comment.
Comments
2 comments