Skip to main content
Solved

Is symmetric encryption of JWTs (HS256) supported for ?


Forum|alt.badge.img

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
View Original
Is this content helpful?

2 replies

Forum|alt.badge.img+5
  • Conversation Starter
  • 27 replies
  • Answer
  • 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
Frequent Contributor
Forum|alt.badge.img+12
  • Frequent Contributor
  • 523 replies
  • 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/