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

How to upload file by specify user

New post

Comments

3 comments

  • cbetta

    Hi   you can use As-User or a User Access Token. See:

     

    https://developer.box.com/guides/authentication/jwt/as-user/

    https://developer.box.com/guides/authentication/jwt/user-access-tokens/

     

    In both cases you need to set the app to have the right permissions, and then get your admin to re-authorize.

    0
    Comment actions Permalink
  • MikeYang

    Hi


    Thanks for the guides, it is working fine for ht Admin user. But we cannot setup all users as admin. So are there any way to manage the general user?


    The situation for us are:

    Our Application intergarte with Box, user can access Box files on our app, and user also login to Box and access the file. So if user update the file on our app, the file history always show the API user (serivce account) updated the file. We want it show the real user show updated it(our app user alwasy linked with box user, the user update file in our app also can login to Box).


    Thanks,

    Mike

    0
    Comment actions Permalink
  • cbetta

     I am not sure I follow. You don't need to setup every user as an admin. 

     

    Can you clarify for me why you can't use JWT and a user access token?

    0
    Comment actions Permalink

Please sign in to leave a comment.