Execution of an OAuth API script

Anonymous_guy
Tera Expert

Hi Community,

 

Does anyone know how an OAuth API script is executed? At what point in time and on what grounds? I have a business requirement to integrate ServiceNow with gitHub keeping JWT as the grant type as a first step to implement Devops Change velocity. I was able to generate JWT from a background script. But obviously in real time, we use OAuth scripts to accomplish the same. I used 'OAuthDevOpsGitHubJWTHandler' script include with an assumption that it would do the needful. Due to some reasons, the token wasn't updating in the credentials table. So, I used some logs to see what's happening and I was happy to see the token in the log. Then I had a strong feeling that something is not working in the post processing of the response from the provider. To summarize, I need to know how the script include is executed and what invokes it. 

 

AbhijithKK_0-1729678032472.png

 

AbhijithKK_1-1729678093461.png

AbhijithKK_2-1729678313799.png

 

 

Any help would be much appreciated!

0 REPLIES 0