Is there a way to avoid the box grant page for custom box apps for oauth 2 authentication?
AnsweredIs there any way we can avoid the grant page and create user access tokens? I redirect to the server but I don't want the grant access page.
-
If you want to get a token for a specific user, this is done in the JWT assertion.
You will want to set the the box_sub_type to user and the sub to the user ID of the user you want the token for. Also, you'll need to ensure you have "generate user access tokens" enabled in the configuration tab of the dev console. If you don't already have it enabled, enable it and ensure you reauthorize your application in the admin console.
Please sign in to leave a comment.
Comments
3 comments