Forums

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

How to get required parameter grant_type from jira

Fabric DS
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 18, 2023

I am trying to send a POST request to get the access_token using the following pattern of URL  taken from https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/.  How to get the parameter grant_type.

curl --request POST \ --url 'https://auth.atlassian.com/oauth/token' \ --header 'Content-Type: application/json' \ --data '{"grant_type": "authorization_code","client_id": "YOUR_CLIENT_ID","client_secret": "YOUR_CLIENT_SECRET","code": "YOUR_AUTHORIZATION_CODE","redirect_uri": "https://YOUR_APP_CALLBACK_URL"}'

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events