Welcome to the new Box Support website. Check out all the details here on what’s changed.

Unexpected access token restrictions

New post

Comments

2 comments

  • Olov Wikberg

    One thing I discovered is that if I remove the #auth_code# query parameter in the integration (picture 1) and makes the frontend app redirect to this URL when missing an auth_code:

    https://account.box.com/api/oauth2/authorize?response_type=code&client_id=${clientId}&redirect_uri=https://box.mydomain.dev

    the user will be asked to give more privileges to the app and a new code will be sent received by the frontend app, hence getting /tasks will work. However this means that the user will be prompted about app access two times (picture 2 and picture 3), which seems wrong.

    So, the question remains for me; how do we get box to ask for enough permissions when right-clicking a file and open in our integration!

    Thanks in advance :)

    Olov

    Picture 1

    Picture 2

    Picture 3

    0
    Comment actions Permalink
  • Olov Wikberg

    Hi again! Anyone having a clue about this? Any input is welcome :)

    0
    Comment actions Permalink

Please sign in to leave a comment.