Execution of an OAuth API script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2024 03:25 AM
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.
Any help would be much appreciated!