Developer app user id different from the authenticated user
回答済みI created custom app through developer token as a service user. I am trying list the objects and upload file to a specific box folder. When i try to authenticate using jwt token the user id that is getting authenticated is different from the one which i am seeing it in the app.
-
正式なコメント
Hi there,
This is mainly an issue with who the access token is scoped for. When using a developer token, the token itself will be scoped to the Box account of the developer (you). When you first authenticate with a JWT app, the access token is scoped for the service account of the application. If you want to make a call for a different user, you'll either need to generate a user access token in your JWT app, or make the request with an As-User header.
- Jon
コメントアクション
サインインしてコメントを残してください。
コメント
1件のコメント