OAuth access denied when trying to create a token
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 06:52 AM
I am trying to generate a token so I can make API requests to ServiceNow from my application. However when I do the request in Postman i get
```
{
"error_description": "access_denied",
"error": "server_error"
}
```
(using a washington developer instance)
I have registered my app in OAuth application registry.
And this is the request I would like to make (ideally without the user details).
(I have no other headers or auth configured for this request)
Something I did observe was that when I made a request using basic auth (same admin username and password) it would store some cookies. The cookies allowed me to make requests to OAuth and generate the keys, and also make GET requests to the Table API.
0 REPLIES 0