Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Blog:> How we can create Client ID and Client Secret for OAuth 2.0 Authentication in ServiceNow?

Md Atif Hussai1
Tera Contributor

use case: Integrate ServiceNow with another ServiceNow by using OAuth 2.0 Authentication.

 

1) We have create Client Id and Client Secret for the target instance in Application Registry 

Screenshot (2).png

 

 

 

 

 

 

 

 

 

then we have to  select > Create an OAuth API endpoint for external clients:

from all of the other option.

 

Screenshot (3).png
and now we can create Client ID and Client Secret from this Application Registry
Screenshot (4).png
 
2) Now we have to Use this Client ID and Client Secret in our Source Instance:
*Again in source instance we have to create Application Registry;
 
Screenshot (5).png
 
in this we have to provide Client Id and Client Secret for the target Instance:
as mentioned below:
MdAtifHussai1_0-1742317113035.jpeg

 

 

** At last we can select our OAuth 2.O Authentication from REST Message Authentication place.

 

 

 

 

 

 

 

 

 

 

0 REPLIES 0