Problem with Oauth Config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2021 03:48 AM
Hi Guys, I'm trying to setup OAuth for my api.
I have created the Application in my dev instance:
Now, when I call:
GET: https://dev83828.service-now.com/oauth_redirect.do
I got this message:
Your OAuth redirect failed. Please check if the redirect URL setup in your OAuth configuration matches your ServiceNow instance URL.
I have tried with, and without Redirect Url, as it is here: https://community.servicenow.com/community?id=community_article&sys_id=91ecea65dbd0dbc01dcaf3231f9619c3
But still not working, what am I doing wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2021 01:59 AM
Thank you for marking my response as helpful.
If my response helped you please mark it correct to close the question so that it benefits future readers as well.
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
04-01-2021 06:07 AM
Unfortunately I'm still getting this error:
"Your OAuth redirect failed. Please check if the redirect URL setup in your OAuth configuration matches your ServiceNow instance URL."
Can it be that it not working on dev server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2021 06:11 AM
Hi,
Did you give the token URL as this
https://dev83828.service-now.com/oauth_token.do
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
04-01-2021 11:30 PM
Yes, fixed that to have this oauth_token.do at the end, but still nothing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2021 11:39 PM
Hi,
So what is the error faced?
Are you not able to generate tokens in your current instance which points to dev83828 for getting OAuth token?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader