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

Help needed: "Cannot obtain token based on the enterprise configuration for your app"

New post

Comments

1 comment

  • Nayak

    Hi , this is by design when you specify Only app users of this App for the Oauth 2.0 with JWT app you cannot generate token for any other users other than the app user itself. Do note: the app user will have a container of itself with an email address, storage etc. so depending on the action you wanted to perform on a set of file/folders you need to add this email address with the required permission to that particular content.

     

    If you still need to get users token without selecting all Enterprise users, you need to change the app type to Standard Oauth and ask each user to authenticate on the app at least once and provide their consent. In this approach you would need to store the refresh token for each user if you want to have a connection re-established at any later time.

     

    I hope this clarifies

    0
    Comment actions Permalink

Please sign in to leave a comment.