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

Config issues when using App Auth Client

New post

Comments

2 comments

  • GrahamOP

    I noticed that the second sample in the App Auth example used different keys than what was in the file I downloaded, so I changed the appAuth.publicKeyID key to appAuth.keyID, and the request passed all tests.

     

    However, this is now the error I'm receiving back from Box:

     

    Got an error! Error: Unexpected API Response [400 Bad Request] unauthorized_client - This app is not authorized by the enterprise admin

    1
    Comment actions Permalink
  • jcleblanc

    Hi ,

     

    JWT applications will need to be approved by an enterprise admin / co-admin before they can start making requests to the APIs. Following this guide and that should get you over the hurdle.

     

    - Jon

    0
    Comment actions Permalink

Post is closed for comments.