service account and enterprise

Answered
New post

Comments

1 comment

  • Official comment
    Kourtney

    Hello Mrinal, 

    I believe the question here is how do you authenticate as a user other than the default service account for jwt applications? If that's correct, you'll need the userID of the user you want a token for: 

    var UserClient = sdk.getAppAuthClient('user', 'YOUR-APP-USER-ID');

    Docs: https://github.com/box/box-node-sdk/blob/master/docs/authentication.md#server-auth-with-jwt

    Hope that helps! 

    Best,

    Kourtney, Box Developer Advocate

    Comment actions Permalink

Please sign in to leave a comment.