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-10-2019 07:15 AM
Did you happen to check these??
Please mark my response as correct and helpful if it helped solved your question.
-Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2019 07:20 AM
Hi Joseph,
So you get the access token and then you must be using that in the header with Bearer <accessTokenReceived> during actual endpoint
can you share screenshot how you are using that?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2019 07:28 AM
Hi Ankur,
So I configured the OAuth provider and profile in ServiceNow by entering the client information which is how I am retrieving the token
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2019 08:31 AM