OAuth Redirect URL: oauth_redirect.do - Getting a 401 error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2019 10:33 AM
Hello,
I'm attempting to authenticate my Service Now developer instance with the app I've installed on this instance.
Here's my configuration for the app in my Application Registry:
I can confirm that my Authorization URL and Token URL work correctly as I can connect via Postman and step through the code in Visual Studio. The problem seems to be the Redirect URL: The oauth_redirect.do - Is there configuration I need to complete to make this a valid end point? It gives me a 401 error every time I navigate to it.
Is there some documentation to explain what's going on behind the scenes when this 401 error comes back?
What is the order of operations? Here's what I think it is:
1) Connect to the Authorization URL to get the Authorization Code?
2) Send the Authorization Code to the Redirect URL?
3) After successfully getting the Auth Code, Service Now sends a request to the Token URL for the Access Token?
4) The token becomes visible on the 'Manage Tokens' page?
Is there a test I can perform to make sure the Redirect URL is actually working correctly?
Thanks,
Kevin
- Labels:
-
Personal Developer Instance
- 5,951 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2019 05:22 AM
Kevin,
Have you solved it by yourself? I am facing the same unauthorized message error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2024 11:09 PM
Hi any update on this , please help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2025 03:01 AM