docusign / code-examples-node

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

Update jwtConsole.js #60

Open rotejim opened 3 months ago

rotejim commented 3 months ago

The response of the function requestJWTUserToken is not returning a body variable inside it, but rather the data variable.

data: { error: 'consent_required' }

This bug generates a 400 error when executing the example code so the authentication process cannot be completed.