We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Connecting to third party Oauth Provider with header "Authoriztion Bearer {base64 string}

Rachel55
Mega Guru

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.

1 REPLY 1

Not applicable

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