How to upload file by specify user

新規投稿

コメント

3件のコメント

  • 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
    コメントアクション パーマリンク
  • 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
    コメントアクション パーマリンク
  • 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
    コメントアクション パーマリンク

サインインしてコメントを残してください。