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-02-2021 12:34 AM
Ok my mistake.
Instead of calling https://<instance>.service-now.com/oauth_redirect.do
I should call https://<instance>.service-now.com/oauth_token.do.
Now it's working.
Thanks for help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2021 01:28 AM
Glad to know.
That is what I mentioned in my earlier response to use oauth_token.do
Please mark my response as correct and helpful and close the 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
05-11-2023 03:07 AM
Hello,
I am trying to do an integration between Intune and Servicenow, but I get this error when I want to test the connection.
Could you please help
Thanks