When calling BoxJWTAuth.UserToken(userId), I'm getting the following error:
The API returned an error [BadRequest] invalid_request - Cannot obtain user token based on the enterprise configuration for your app.
I believe I have my developer account and app set up correctly.
In the dev console my app configuration is as follows:
Authentication Method: OAuth2.0 with JWT (Server Authentication)
Application Access: Enterprise
Application Scopes: (all checked)
Advanced Features: Perform Actions as Users (on) Generate User Access Tokens (on)
In the admin console, I've authorized my custom app and it's enabled.
Is there anything else that I need to do, in order to allow the app to get user tokens?
Please sign in to leave a comment.