To debug this I have tried suggestion given by Postbot and troubleshooting link, However none of them work. In this we are also sending client certificate, which is getting matched successfully as shown in console.
In console I see there is no Content-Type header. Can that be the reason?
Request:
POST https://connect2.pointclickcare.com/auth/token
Content-Type : application/x-www-form-urlencoded
grant_type: "client_credentials"
Authorization: Basic *********
Postman Console:
POST https://connect2.pointclickcare.com/auth/token
Error: BAD_ENCODING
▶ Client Certificate id: "9471b913-084a-4ad7-814e-a70b7bafddbc"
▶ matches: 1
▶ key: {…}
▶ cert: {…}
▶ pfx: {…}
passphrase: "******"
▶ Request Headers
Authorization: Basic d******************************
User-Agent: PostmanRuntime/7.38.0
Accept: /
Postman-Token: 3b54dcc3-3eb4-4627-8f4e-455c4ac9efcd
Host: connect2.pointclickcare.com
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
▶ Request Body
grant_type: "client_credentials"
check version 7.22.1