docusign / code-examples-node

Node.js code examples and launcher
https://developers.docusign.com/
MIT License
66 stars 53 forks source link

Update documentation to use specific variable names #22

Closed Chris-Boyle closed 3 years ago

Chris-Boyle commented 3 years ago

When following the README the JWT section says we need to update some variables in the appsettings.json file. It doesn't say what those variables are in the file. It also doesn't say what they are called on the api-integrator-key page on the Docusign site. It would be really helpful to have a clear mapping of what the values are in the appsettings.json file and precisely what they are called in the api-integrator-key page. This makes it difficult to get the test app up and running.

dmartin00 commented 3 years ago

Hello Chris,

Thanks for the feedback. I've filed ticket DEVDOCS-3867 to have that updated. Were you able to get the example up and running or are you still having issues?

Chris-Boyle commented 3 years ago

@dmartin00 i was not able to but I did get all the js APIs working eventually in my app.

meihDS commented 3 years ago

Hi Chris, I independently updated the Node README with these instructions the day after you posted the comment. Please let us know if there's additional info needed. Also, I created a Node Quickstart video https://youtu.be/5iUq00IRaTk that maps the values in the appsettings.json file to the api-integrator-key page at 2:52.

Configure JWT Create a new integration key on the Apps and Keys page and save the GUID to a secure location for step 5 below. Set a redirect URI of http://localhost:5000/ds/callback Generate an RSA key pair. Under Apps and Integration Keys, choose the integration key to use, then select Actions, then Edit. In the Authentication section, select ADD RSA KEYPAIR. Save the private key to a secure location for the next step. Create a new file config/private.key, then save your RSA private key in it. Update the file config/appsettings.json with your integration key GUID from step 1 as your dsJWTClientId and your API Username from the Apps and Keys page as your impersonatedUserGuid. Run the launcher using npm start, then select JSON Web Token when authenticating your account.

InbarGazit commented 3 years ago

@Chris-Boyle can we close this?

Chris-Boyle commented 3 years ago

@InbarGazit yes. Thank you all!

ivdinkovds commented 3 years ago

Closing the case