When I do the POST call to https://www.smartrecruiters.com/identity/oauth/token with grant_type authorization_code, I receive http status code 200 OK and as the response body an empty json object. Why?
SmartRecruiters only accept a form body, not a JSON body.
Example request body format:
curl -X POST \
https://www.smartrecruiters.com/identity/oauth/token \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'cache-control: no-cache' \
-d '{
"grant_type": "authorization_code",
"code": "zzzz",
"client_id": "abc",
"client_secret": "xxxx"
}'