The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Using Jira Server REST Apis Connect (OAuth 2.0): unable to get authorization code

Jisoo Shin
July 20, 2021

Hello, I have a problem.

when i try to exchange authorization code for access token, follow guide, https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/

curl --request POST --url "https://auth.atlassian.com/oauth/token" --data "{"grant_type": "authorization_code","client_id": "xx","client_secret": "xx","code": "xx","redirect_uri": "https://curvcihp.atlassian.net"}"

 response error code..

{"error":"access_denied","error_description":"Unauthorized"}

what should i do to solve this problem..

 

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events