Skip to main content
Question

is this possible to get authorisation code by JavaScript??

  • November 30, 2017
  • 0 replies
  • 30 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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.