-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JWT Auth Flow #292
Comments
Hello rpf3, Thank you for contacting DocuSign Customer Support regarding JWT integration. If you go to SDK, node, there is the Reference and that method is not listed there, is should be, because it's auto generated, https://github.com/docusign/docusign-esign-node-client And in this other link that one of my colegues gave me, stays in line 94 how to actually call the method dsApi.requestJWTUserToken(dsConfig.dsClientId https://github.com/docusign/code-examples-node/blob/master/lib/DSJwtAuth.js#L94 Here you will find the methods the updated methods: https://docusign.github.io/docusign-esign-node-client/ I know it could be a little bit hard to keep changing code from time to time, it happens to me a lot and more I am sending the Email, comment and will try to update the github feed, as is our procedure. Let's check on this, and if you have any other question let me know. Best regards, Pablo | DocuSign Customer Support |
Thanks for the response @pablomdstest, the example code you sent uses the function Would it not be possible to simply expose |
hello @rpf3 I have created a ticket for our team to take a look at exposing this function. |
@acooper4960 thanks for the update. Would this be across your SDKs or just for the node package? I have a different service looking into the C# package and it does not seem to be possible with that either. If not I can raise a separate issue on that repository. |
I'm trying to work through setting up JWT authentication and your documentation here says that the function
sendJWTTokenRequest
can be used to automate JWT auth. However, it does not seem like this function is made available as one of the exports of theApiClient
module.The DocuSign documentation and tutorial I linked above describes how to authenticate if you are signing your own JWT and the presenting it to the DocuSign API. My understanding is that this should be possible by then uploading the RSA public key used to sign the token into my DocuSign integration application. The only JWT token requests I can see exported from the
ApiClient
both require me to provide my private key to the function and then will generate the JWT internally to the SDK.Am I missing something in this apparent conflict between the DocuSign documentation and the actual source code?
In addition, I don't see all of the exports in the source code listed on the documentation here. Is this out of date?
The text was updated successfully, but these errors were encountered: