Forums

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

Access Jira API using OAuth2 Authorization Code Flow

Seethalakshmi V
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!
January 28, 2025

Hi Team, 

 

We have onpremises jira data centre at our office. We would like to access jira api's using Oauth2 Authorization Code flow. We use Azure as the authentication provider. We want to access rest api using user credentials to provide more security. 

Could you please help us achieving this requirement?

1 answer

0 votes
Gunjan Kumar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
February 11, 2026
Hi Seethalakshmi,
 
Jira Data Center (on-premises) does not support OAuth 2.0 Authorization Code (3LO) flow for accessing Jira REST APIs like Jira Cloud does.
 
Jira Data Center’s OAuth 2.0 support is mainly for application integrations and linking, not for issuing OAuth2 tokens that external applications can use to call REST APIs.
 
For REST API access in Jira Data Center, Atlassian officially supports:
  • OAuth 1.0a
  • Basic Authentication / Personal Access Tokens
 
If OAuth2 with Azure AD is mandatory, a custom proxy or marketplace app would be required.
 
References:
 

Suggest an answer

Log in or Sign up to answer