Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

ways to generate JWT in ServiceNow and signing it with ES256 algorithm

veceg9
Kilo Contributor

ways to generate JWT in ServiceNow and signing it with ES256 algorithm

2 REPLIES 2

Tanushree Maiti
Kilo Patron

Hi @veceg9 

 

Check this - https://www.servicenow.com/community/developer-articles/generate-and-validate-jwt-authorization-toke...

 

Hope it will help you.

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

YashwanthV18760
Giga Guru

Hi @veceg9 

 

To generate a JWT in ServiceNow, follow these steps:

  1. Create or obtain a Java KeyStore (JKS) certificate and upload it to your instance.
  2. Navigate to System OAuth > JWT Keys and create a JWT signing key, assigning it to your JKS certificate. Note: The only supported signing algorithm in ServiceNow is RSA 256; ES256 is not available.
  3. Add a JWT provider in System OAuth > JWT Provider, linking it to your signing key.
  4. Use this provider for OAuth integrations or API authentication.


Currently, ServiceNow does not support signing JWTs with the ES256 algorithm—only RSA 256 is available