- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2020 07:59 PM
Hi,
I have created the external client oAuth access token through https://<instance>.service-now.com/oauth_token.do.
How do i use this access token in scripted REST api script for authentication ?
Regards,
Sagaya.
Solved! Go to Solution.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2020 03:22 AM
Glad to know that it worked.
Please close the thread as answered by marking my response as correct and helpful If I was able to help/guide you.
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
08-17-2020 07:03 PM
HI Ankur Bawiskar,
Thank you for the information . However even i follow the same steps I got below error message . Please find the attachment.
Regards,
Sagaya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2020 10:38 PM
Hi,
So you are getting the access token correctly
But unable to use that.
Did you verify the access token is valid?
Did you check the API which you are consuming has any ACL attached?
check these links for help
https://hi.service-now.com/kb_view.do?sysparm_article=KB0565021
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
08-21-2020 04:50 AM
Any update on this thread?
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
08-25-2020 01:36 AM
Hi Ankur,
Still i am unable to access the oAuth token in my API .
could you please help to resolve .
Regards,
Sagaya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2020 01:57 AM
Hi,
So you have created an OAuth endpoint in instance A for external application to get the access token.
where are you trying to get the access token?
is it from same instance A or from another instance B?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader