Saturday, 18 January 2025

ServiceNow OAUTH

 ServiceNOW OAUTH using JWT and HS256

https://www.servicenow.com/docs/bundle/washingtondc-platform-security/page/administer/security/task/create-jwt-endpoint.html

https://jwt.io/


It does support other parties OAUTH algorthim

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0859843



ServiceNow OAUTH obtain also need username and password(token will grant the permission of the user to access the API)

https://www.servicenow.com/community/developer-forum/oauth2-0-without-username-and-password/m-p/1470323


  1. Endpoint - https://instanceName.service-now.com/oauth_token.do

Method - POST


Request Body Key values



Key


Value


grant_type


password


client_id


your client id


client_secret


your client secret


username


username with rest role


password


password for that user


No comments:

Post a Comment