Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

Box.com SDK - Getting user and admin tokens

Répondu
Nouvelle publication

Commentaires

9 commentaires

  • Gzxxxxx

    hey~~~

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

    0
    Actions pour les commentaires Permalien
  • arpiticreate

    Have same issues here. while generating admin token

    0
    Actions pour les commentaires Permalien
  • sparanjape

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

    0
    Actions pour les commentaires Permalien
  • 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
    Actions pour les commentaires Permalien
  • 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
    Actions pour les commentaires Permalien
  • 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
    Actions pour les commentaires Permalien
  • santac311

    Thank you!  This was my issue.

    0
    Actions pour les commentaires Permalien
  • 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
    Actions pour les commentaires Permalien
  • Iopshendry

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

    0
    Actions pour les commentaires Permalien

Vous devez vous connecter pour laisser un commentaire.