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  

"Cookies must be enabled to use GitHub" error in ServiceNow-GitHub integration

Anonymous_guy
Tera Expert

Hi ServiceNow folks,

I have been trying to integrate ServiceNow with GitHub using JWT Bearer as the grant type. I successfully created a JWT using GlideJWTAPI and successfully validated it using POSTMAN. The error message "OAuth flow failed. Verify the configurations and try again. Error detail:invalid_request, Missing parameters: access_token" appeared when I attempted to use an OAuth credential to request an access token.  Since the error message didn't provide any insight into the situation, I cloned the OAuthUtil OAuth API Script and added some logs to view the response body. The attached document below was how the content body appeared.

Anonymous_guy_0-1756114666821.png

Has anyone encountered a circumstance similar to this? Given that I was successful in creating and validating a JWT, I think the steps to create the JWT provider are accurate. Adding some screenshots below if someone is really interested in helping me to find the issue.

Application registry:

Anonymous_guy_1-1756116203926.pngAnonymous_guy_2-1756116240453.pngAnonymous_guy_3-1756116378641.pngAnonymous_guy_4-1756116413304.png



Any help would be much appreciated.
Thanks in advance


 

 



0 REPLIES 0