Trouble getting OAuth token in REST Message?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2019 07:08 AM
when accessing token from POSTMAN, the token appears in the response. But it appears servicenow is looking for the parameter 'access_token' (OAuth flow failed. Verify the configurations and try again. Error detail:invalid_request, Missing parameters: access_token). Is it possible to have servicenow look at the parameter 'token' instead of 'access_token'?
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2021 08:53 AM
I think I got the root cause of this issue. I will keep posted once I have confirmed and found the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2021 08:00 AM
Did you ever confirm the root cause? If so, what was it?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2021 04:25 AM
Hi Ryan,
Yes, I found out that by default ServiceNow sends a POST method(NOT GET) to get the token from the OAuth provider. Please ask the token provider to configure the method with POST method instead of GET method.
Regards,
Amrit Sharma
Please mark the answer as helpful, in case it resolved your issue, which in turn will help others facing the same issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2021 07:21 AM
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0754270 may help with this.