Skip to main content
Question

is this possible to get authorisation code by JavaScript??

  • November 30, 2017
  • 0 replies
  • 27 views

I am using third party tool which will interact with box enterprise account and there is no configuration are available to configure redirect URL.

For this, first time when my app will try to access account it will be redirected to Box page. Box finally redirects user to my redirected URL after acceptin user credentials. This redirected URL will have a authorization code.

is this possible to get authorization code by Javascript?

Below is how i am trying to authorising:

https://account.box.com/api/oauth2/authorize?response_type=code&client;_id=33232323&redirect;_uri=https:0.0.0.0&state;=authentication

And below how i will get code:

https://0.0.0.0/?state=authentication&code;=a88pdfff18kxsrr9bt

0 replies

Be the first to reply!

Reply


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