Hello,
I am implementing OAUth 2.0 for my app, and am having trouble exchanging my authorization code for an access token and refresh token (I will need both).
I've been able to understand and follow this guide, however once I perform the POST request to receive a token, I get the following error:
error: access_denied
error_description: Unauthorized
Please see my request call below, I've triple checked for typos and cannot understand why my request doesn't send. Any help is appreciated!
Request Type: POST
URL: https://auth.atlassian.com/oauth/token
Headers:
Content-Type = application/json
Params:
grant_type=authorization_code
client_id=MY_CLIENT_ID
client_secret=MY_CLIENT_SECRET
code=MY_AUTHORIZATION_CODE
redirect_uri=https://loginuat.springcm.com