Connecting to third party Oauth Provider with header "Authoriztion Bearer {base64 string}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 09:25 AM
The third party has provided a key, a secret, and a token URL. The instructions are to include headers Authorization Bearer followed by a base64 string concatenation of the key and secret, and content type json. In the body, grant_type api. I set up an application registry and entered their key as the ID, the secret, and the token URL. In the rest message, I added the above headers and put the grant type in the header as well, because I don't know how to include it in the body. When I click "Get Oauth token", I get the error "missing parameters: access_token". Any insight? I have tried changing the grant type in the application registry from Authorization Code, to Resource Owner Password Credentials, to Client Credentials. They all give the same error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 10:18 AM
Hi @Rachel55
check this KB article and select send credentials field as mentioned in the article
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0779232
Thanks,
Swathi