0

How do I get Authorization code pragmatically using Box.V2 API? I need to get it through C# code so that I can reuse it to generate refresh and access token through code.

Right now, I need to generate first refresh token manually and then next tokens are generated. I want to automate this as well.

I am looking for a way which can be used in a class library also.

1 Answer 1

0

Because the Box V2 API uses OAuth2, you must retrieve the access/refresh tokens through a web browser/web view.

The closest thing I've heard to automating this process is using webview and then manipulating the dom to populate the respective fields. This of course is not recommended.

Any particular reason you cannot generate the initial set of access/refresh tokens, then on each

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.