Unable to generate OAuth token using Client Credentials with full scopes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hi Team,
I am trying to establish a connection between ServiceNow and Jira using OAuth 2.0 Client Credentials flow.
I created an application registry with default settings in ServiceNow.
In Postman, when I attempt to generate an access token using the Client Credentials grant type, I do not get a valid token.
I also need the token with all scopes so that it can be used to call APIs for integration.
Steps I followed:
Created OAuth API endpoint for external clients (System OAuth → Application Registry).
Configured Client ID and Client Secret.
In Postman, tried grant_type=client_credentials with basic authentication.
Token request fails
How do I correctly configure the application registry to allow client credentials flow?
Is there a way to assign all scopes to the token?
Regards,
Naveen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
I have seen JIRA Spoke using Authorization Code as grant type
check this
Integration Hub | Set up the Jira spoke for Jira Cloud with OAuth 2.0 authentication
JIRA and ServiceNow Integration for Attachment with Oauth 2.0 connection details
In docs also it says Auth Code when you use JIRA Spoke
Set up the Jira spoke for Jira Cloud
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader