新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

Box.com SDK - Getting user and admin tokens

回答済み
新規投稿

コメント

9件のコメント

  • Gzxxxxx

    hey~~~

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

    0
    コメントアクション Permalink
  • arpiticreate

    Have same issues here. while generating admin token

    0
    コメントアクション Permalink
  • sparanjape

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

    0
    コメントアクション 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
    コメントアクション 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
    コメントアクション 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
    コメントアクション Permalink
  • santac311

    Thank you!  This was my issue.

    0
    コメントアクション 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
    コメントアクション Permalink
  • Iopshendry

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

    0
    コメントアクション Permalink

サインインしてコメントを残してください。