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

Stuck at Constructing the JWT Assertion

New post

Comments

2 comments

  • Murtza

     Here's the process to create an App User using JWT authentication and then generate an access token for that App User:

    1. Generate an enterprise access token using JWT authentication. For the sub field, specify your enterprise id as the value. Your enterprise id is available on this page.
    2. Create an App User using this endpoint. Use the enterprise access token from step 1 to authenticate.
    3. Generate an App User access token using JWT authentication. For the sub field, specify the id for the App User you created in step 2 as the value.
    0
    Comment actions Permalink
  • dh33

     

    Thanks for the reply! I see now how to generate the App User access token. How does this get me to where I can access a Box.com users files? At some point, I would need an access token specific to a Box.com user's account so I could read/write files to their account. My application is a service that runs nightly so there is no end user involvement.

    0
    Comment actions Permalink

Please sign in to leave a comment.