docusign / docusign-esign-java-client

The Official Docusign Java Client Library used to interact with the eSignature REST API. Send, sign, and approve documents using this client.
https://javadoc.io/doc/com.docusign/docusign-esign-java/latest/index.html
MIT License
105 stars 96 forks source link

JWTUtils/generateJWTAssertion doesn't respect scopes, scopes always set to "signature" #214

Closed boxxxie closed 2 years ago

boxxxie commented 2 years ago

https://github.com/docusign/docusign-esign-java-client/blob/9e01628d0aa825fee2bfaba62b50474b0bd8cb8b/src/main/java/com/docusign/esign/client/auth/JWTUtils.java#L103

the static method above the one links looks like copy/paste and it does have scopes as input.

HobbyProjects commented 2 years ago

Thank you for reporting this. We have opened a bug on this and will address this issue in future releases.