Issue Integrating OAuth for Multiple ServiceNow Instances
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2024 02:28 AM
Hello ServiceNow Community,
I am currently working on integrating OAuth with multiple ServiceNow instances to fetch and update data using an access token, similar to how Google APIs work.
Requirement:
- OAuth Integration: I need to integrate OAuth to any ServiceNow instance to obtain an access token.
- Token-based Authentication: The goal is to authenticate like Google sign-ups, where an access token is generated and then used to access and update data in ServiceNow.
- Knowledge Table Data Access: The token is specifically used to get details from the Knowledge table in the ServiceNow instance.
What I Have Done So Far:
- I have successfully created an OAuth application in my own ServiceNow developer instance, which allows me to get an access token and use it to retrieve data from the Knowledge table.
- However, when I try to obtain an access token from another ServiceNow instance (not my developer instance), I am unable to get the token, and the process fails.
Issue:
I am facing an issue when attempting to authenticate and obtain an OAuth token from other ServiceNow instances. It seems like the OAuth configuration or authorization process is not working as expected for instances other than my own developer instance.
Questions:
- OAuth Configuration: Is there a specific configuration or setting required for each ServiceNow instance to allow token generation for external OAuth clients?
- Permissions and Scopes: Are there specific permissions or scopes needed that might be blocking token issuance from these instances?
- Instance-Specific Limitations: Are there any known limitations or restrictions when trying to set up OAuth for multiple instances, especially when using a non-developer instance?
- Best Practices: What are the best practices for setting up OAuth across multiple ServiceNow instances?
Any insights or guidance on resolving this issue would be greatly appreciated.
Thank you for your help!
0 REPLIES 0