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

How do "refresh_tokens" and App Users work together?

New post

Comments

2 comments

  • alexmlee

     Looks like App Users use the JWT authentication, which doesn't use refresh tokens

    0
    Comment actions Permalink
  • Murtza

     You are correct. App Users use JWT authentication. Our OAuth 2 authentication model uses the refresh token and is designed to be used with Managed Users 

     

    This blog post might be helpful for your use case. It sounds like you have already figured out this step, but for other viewers of this thread Step 3 in the blog post shows how to generate an access token with JWT authentication using the Boxr gem. Step 5 in the blog post shows how to generate an embeddable preview link for file using the access token generated in Step 3.

    0
    Comment actions Permalink

Please sign in to leave a comment.