kendomen
- Total activity 228
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 89
Comments
Recent activity by kendomen-
We get all events for all users using enterprise events as a JWT AutomationUser using Azure Functions but if you want to get user events, you can do this... var adminClient = sdk.getAppAuthClient(...
-
I'm not sure how to do this but here's an example with search.. var adminAPIClient = sdk.getAppAuthClient('enterprise', ENTERPRISE_ID); adminAPIClient.search.query( 'Test', { fiel...
-
Are you running it as admin and do you have manage user's scope enabled? var BoxSDK = require('box-node-sdk'); var fs = require('fs'); var path = require('path'); var CLIENT_ID = 'xxxx', CLIENT...
-
You're right. I have 2 box applications used by one webapp. We created this app to allow normal users (oauth) to be able to perform admin actions (jwt) because we needed to scale out our support...
-
We use both oauth and jwt - https://github.com/kendomen/boxadmin/blob/master/app.js https://github.com/kendomen/boxadmin This is an example app that allows co-admins to run admin calls using jwt.
-
if you have an email, you can get the userId like this // adminClient is from jwt adminAPIClient.enterprise.getUsers({filter_term: 'ken.domen@nike.com'}, function (err, data) { var userId ...
-
I've only worked with admin events and I do get duplicates on those.
-
We use stream_position and store events in azure data warehouse. We then take out duplicates using event_id's because azure data warehouse allows for duplicate event_id's. I believe there's alwa...
-
When using Box's generated keys, I do the following:1. create a directory called config2. rename the config file to default.json3. and then the code changes below var BoxSDK = require('box-node...
-
The only thing I changed was the first parameter '123'. This needs to be a valid folder_id so I put in '0' and then the upload worked. In this example, I use jwt so the sdk takes care of the toke...