control-tower-token-service
v1.0.2
Published
A simple helper that leverages the Control Tower Token service. Not something you would use generally.
Downloads
1
Readme
Token Service
Usage
const token-service = require('control-tower-token-service');
var org_id = 'SOME SALESFORCE ORG ID';
token-service.fetchToken(org_id, function(err, data) {
if(err) {
// handle error
} else {
// do something with the data
// JSON object that contains your access_token
}
});