Skip to main content
Newcomer
April 3, 2025
Solved

Is symmetric encryption of JWTs (HS256) supported for ?

  • April 3, 2025
  • 2 replies
  • 105 views

Is it possible to use HS256 symmetric encryption algorithm for generation of JWTs? I can only see the asymmetric encryption RS256 used in the walkthroughs. 

I am trying to consume https://account-d.docusign.com/oauth/token with a JWT to get an access token, but it would be easier if this was possible with HS256 JWT encryption. 

Best answer by Adrian Dev
Hello Emiliy1008,
 
Thank you for using Docusign Community Support. 

At this time, our authentication system only uses RS256 to process token request. 

We have SDKs in several programming languages that already have the coding to use RS256, we hope one of them may safe you some time: 
SDKs for eSignature REST API | Docusign


 
Best regards,
 
Adrian | Docusign Developer Support

2 replies

Digital Collaborator
April 5, 2025
Hello Emiliy1008,
 
Thank you for using Docusign Community Support. 

At this time, our authentication system only uses RS256 to process token request. 

We have SDKs in several programming languages that already have the coding to use RS256, we hope one of them may safe you some time: 
SDKs for eSignature REST API | Docusign


 
Best regards,
 
Adrian | Docusign Developer Support
Hengfeng Ge
Hero
Hero
April 5, 2025

@Emily1008 You can use JWT Util to generate JWT Assertion if your development language is java. Please reference this code:

https://github.com/docusign/docusign-esign-java-client/blob/master/src/main/java/com/docusign/esign/client/auth/JWTUtils.java

 

FreeLink/甫连信息
🌍 DocuSign Partner | Partner Profile
🌟 The only DocuSign Partner globally certified as both a Certified eSignature Administrator and eSignature Technical Consultant
🏆 DocuSign 2024 APAC Reseller Growth Partner of the Year
💡 Ranked #1 in the OG All Star category in DocuSign Community Wrapped 2024
📊 DocuSign Community Leaderboard Top 5 contributor
🚀 Expertise in DocuSign integrations with on-premises systems for leading enterprises across various industries
🔗 Connect with me on LinkedInhttps://www.linkedin.com/in/gehengfeng/

 

Welcome to the DocuSign Community! Your feedback is highly valued. If you find my response helpful, please give it a "Like" and consider marking it as the "Best Answer" to assist others with similar issues.