Join BoxWorks in San Francisco Nov 12-13! Keynotes, product demos, and Box Master Classes. Reserve your spot!

Box.com SDK - Getting user and admin tokens

Answered
New post

Comments

9 comments

  • Gzxxxxx

    hey~~~

    Do you solve this problem?I also have this problem。

    0
    Comment actions Permalink
  • arpiticreate

    Have same issues here. while generating admin token

    0
    Comment actions Permalink
  • sparanjape

    Anybody has any update on this error? I just tried the code and I am getting the same error.

    0
    Comment actions Permalink
  • ramon_schouten

    Hi guys,

    I ran into the same issues, I haven't been able to solve it, but please check out the following link where my question has been answered.

    https://community.box.com/t5/Platform-and-Development-Forum/JWT-Oauth-2-0-using-powershell/m-p/47024

     

    I have used the CLI, this works like a charm.
    And a plus side, the CLI setup is really well documented and easy to set up.

    0
    Comment actions Permalink
  • wesleylong

    I found the issue, mainly by trial and error.

    You have to go back into your account's admin and authorize the app after you've made it.

    Go to 

    https://[yourdomain].app.box.com/master/settings/openbox  

    And look under "Custom Applications."  Add this app with the clientID value in the JWT JSON.  BTW - if you make any changes to the app's permissions, you have to come back here, drop the app, and add it again.

    0
    Comment actions Permalink
  • wesleylong

    I found the issue, mainly by trial and error.

    You have to go back into your account's admin and authorize the app after you've made it.

    Go to 

    [yourdomain].app.box.com/master/settings/openbox  

    And look under "Custom Applications."  Add this app with the clientID value in the JWT JSON.  BTW - if you make any changes to the app's permissions, you have to come back here, drop the app, and add it again.

    0
    Comment actions Permalink
  • santac311

    Thank you!  This was my issue.

    0
    Comment actions Permalink
  • Box Product Support

    This looks like my exact problem, but I cant find in my account how to give my custom app permissions.
    When I go to

    https://[yourdomain].app.box.com/master/settings/openbox  

    On that page have 2 buttons. 1 to browse apps or watch demo.

    Click Browse Apps and see ways to search for published apps, but nothing for Custom Applications.

    Could this be an issue with how the organization is setup?

     

     

    0
    Comment actions Permalink
  • Iopshendry

    Thank you very much, we were having this problem for a while, your solution worked perfectly!

    0
    Comment actions Permalink

Please sign in to leave a comment.