Welcome to the new Box Support website. Check out all the details here on what’s changed.

JWT auth using sub user_id, but still getting "unauthorized_client" error.

New post

Comments

1 comment

  • jmoldow_box
    Once you have the JWTAuth object initialized, you can call auth.authenticate_app_user(client.user(app_user_id)).
     

    It looks like we don't use the enterprise_id unless you authenticate as the enterprise. Since you're not doing that, if you'd like, you can pass enterprise_id=None to the constructor.

    0
    Comment actions Permalink

Please sign in to leave a comment.