code-examples-node
code-examples-node copied to clipboard
Update jwtConsole.js
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.