Are any of the other oauth2 authentication options supported other than redirect_uri?
I am working on coverting a program that creates and stores some reports to directly push them to Box instead of us manually copying them there once they are generated. The particular machine this runs on has internet connectivity but is behind a firewall so there is no way to get a direct connection in from the outside.
Read through the oauth documentation and have rough understanding of how it works. The snag is it looks like box expects the redirect_uri to be use to return the token. Since the system is behind the firewall there is no way for me to recieve the redirect. Digging farther into the oauth spec I have tried a few of the other authentication options like pin based only to get back a "unsupported_response_type" back from box.
Is there a supported responce type that does not require me having the user cut and paste the redirect URL from the web browser bar?
-
If you're using something like Python with Flask or Node.js with Express, it's pretty easy to get the redirect that way, but that whole approach still requires manual intervention to authorize the request to invoke the redirect.
Are you writing a headless application that doesn't require end-user interaction? If so, you may want to look at the Enterprise/Service account approach that uses OAuth2 with JWT (no manual steps required except for a one-time authorization of the application via the Box admin console).
Post is closed for comments.
Comments
1 comment