Skip to content

Commit 5eec18a

Browse files
authored
Merge pull request #102 from daviditsygin/patch-1
Updated OAuth JWT Grant Example
2 parents fb465c1 + f77631d commit 5eec18a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,19 +110,17 @@ var async = require('async');
110110
var path = require('path');
111111

112112
var integratorKey = '***'; // Integrator Key associated with your DocuSign Integration
113-
var email = 'YOUR_EMAIL'; // Email for your DocuSign Account
114-
var password = 'YOUR_PASSWORD'; // Password for your DocuSign Account
113+
var userId = 'YOUR_USER_ID'; // API Username for your DocuSign Account (use the GUID not the email address)
115114
var docusignEnv = 'demo'; // DocuSign Environment generally demo for testing purposes
116115
var fullName = 'Joan Jett'; // Recipient's Full Name
117116
var recipientEmail = '[email protected]'; // Recipient's Email
118117
var templateId = '***'; // ID of the Template you want to create the Envelope with
119-
var templateRoleName = '***'; // Role Name of the Template
118+
var templateRoleName = '***'; // Role name of the Recipient for the Template
120119

121120
var baseUrl = 'https://' + docusignEnv + '.docusign.net/restapi';
122-
var userId = 'YOUR_USER_ID';
123121
var oAuthBaseUrl = 'account-d.docusign.com'; // use account.docusign.com for Live/Production
124122
var redirectURI = 'https://www.docusign.com/api';
125-
var privateKeyFilename = 'keys/docusign_private_key.txt';
123+
var privateKeyFilename = 'keys/docusign_private_key.txt'; //path to the file storing the private key from the RSA Keypair associated to the Integrator Key
126124

127125
var apiClient = new docusign.ApiClient();
128126

0 commit comments

Comments
 (0)