Using the standard OAuth 2 method and getting a valid authorization code, my app (Laravel) uses the code in the request to https://www.zopim.com/oauth2/token to gain an access token, but it always throws a 401 Unauthorized error.
I've follows the steps over and over, param by param, and still cannot figure out why I can't get an access token.
We have Zendesk Chat under OUR_COMPANY.zendesk.com/chat and the subdomain works when requesting a valid authorization code, but I get the 401 when doing the POST for the access token.
What could be going wrong?
Here is my request for the access token in CURL and request string:
curl https://www.zopim.com/oauth2/token \
-H "Content-Type: application/x-www-form-urlencoded" \
Please sign in to leave a comment.