Skip to main content

How to generate AUTHORIZATION_CODE commandline

  • August 17, 2023
  • 1 reply
  • 204 views

  • New Participant
  • 2 replies

Is there any way to generate AUTHORIZATION_CODE command line or its required manual browser integration all the time?

1 reply

rbarbosa Box
  • Developer Advocate
  • 553 replies
  • August 17, 2023

HI,


Taking the risk and assuming you are talking about the OAuth 2.0 authorization_code you get after successfully granting access to the user box account, then yes.


It is the whole purpose of the OAuth 2.0 protocol, to have the user manually, and explicitly granting that permission, and not giving their credentials to an app.


Having said that, there are other methods that don’t require user interaction, such as Client Credential Grants (CCG) or Json Web Tokens (JWT).


So depending on your use case you would select one of the authentication methods, OAuth 2.0, CCG or JWT.


Cheers


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings