JWT in REST integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2022 09:26 PM
Hi All,
How to use JWT authentication in REST integrations when integrating ServiceNow with third party applications?
Can you help me with an example for learning the same.
Regards,
Aswathy
- Labels:
-
Multiple Versions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2022 10:09 PM
Hi Aswathy,
Is this an outbound integration or inbound? i.e, Are you sending data to the third party or is this to allow them to read/update to ServiceNow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2022 11:28 PM
Hi Anson ,
Thank you for the response.
This will be an outbound integration. My requirement is, lets say I need to fetch some data from a third party application and display in ServiceNow. I need to consume their API for the same.
Regards,
Aswathy

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2022 12:18 AM
You can mirror something similar to the GitHub setup process to understand how to create, register, and manage a JWT key
OAuth 2.0 credentials for GitHub Apps - JWT (servicenow.com)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2022 01:47 AM
Hi Anson,
I think I need to elaborate more.
Consider I need to get the JIRA ticket details and create records in ServiceNow, for this I need to consume the REST API of JIRA. Lets say I have a schedule job running for this. In this scenario, Can we use Json Web token instead of basic authentication?
If Yes, How?
Regards,
Aswathy