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

Error 403 in Shared Links in Box API using Primary Access Token on App Token Authorization

New post

Comments

2 comments

  • Tamagotchi

    I got this wrong from the very beginning aha :'(
    I TOTALLY FAILED to read this:

     

     

    Endpoints supported via App Token Auth
    App Token Auth currently only supports previewing content stored in Box. The only Content APIs accessible through App Token Auth are Upload File, Download File, Delete File and Get Embed Link.
    
    To provide feedback, please contact us here. We would love to hear from you!

     

    Meaning App Token auth was never designed for creating shared links in the first place isn't it? :'(

    We are currently using box api to be the host of fileuploads on a

    and I'm not sure how to proceed. My actual question should probably be, is there a way to have API access to shared links without having a guest go through user Oauth2?
    0
    Comment actions Permalink
  • mwiller

     For server-to-server use cases where you don't want a user to need to log in via OAuth2, JWT Authentication is a good fit.  You can read more about why you might want to choose JWT auth and how to get started using JWT auth in the Box Developer documentation.

    0
    Comment actions Permalink

Please sign in to leave a comment.