Does Jira Server (OnPrem) support the OAuth2.0 for the rest API authentication

customer
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 11, 2023

Hello Team,

I can see there is an Open ticket https://jira.atlassian.com/browse/JRASERVER-73893 which tells that currently OAuth2.0 is not supported for the rest API authentication.

I can see that there is no official document present to support the OAuth2.0 for Jira Server to make the RestAPI call, similar like Jira-Cloud .
Official developer doc of Jira Server: https://developer.atlassian.com/server/jira/platform/security-overview/

It seems that below doc say that Jira server support OAuth2.0 for the API authentication.
https://confluence.atlassian.com/adminjiraserver0904/jira-oauth-2-0-provider-api-1188767694.html

It's very Confusing, Could you please confirm that, Does Jira Server (OnPrem) support the OAuth2.0 to make the Rest API Call similar like Jira-Cloud?

1 answer

0 votes
Artur Moura
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 13, 2023

Hey there,

Welcome to the Atlassian Community!

I understand your point. I was working on a similar case. 

Since Jira 8.22, the OAuth 2.0 provider feature was implemented and includes API.

Here in the Jira 8.22 release notes, you should find more details about it.

In addition, we have this new JRASERVER-76317 opened bug for the documentation.

customer
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 16, 2023

Thanks @Artur Moura  for reaching to me.

I follow the Jira 8.22 release notes and it's look like in this release Jira can be integrate with any external application by using the OAuth 2.0 and they can exchange the data by creating the links .

There is no place it's mention as that OAuth2.0 supported for the Jira API's. i can see there is a Open ticket for the same https://jira.atlassian.com/browse/JRASERVER-73893

I can see the comment given by Atlassian member in  https://jira.atlassian.com/browse/JRASERVER-43171 that:
It did not provide individual users with the ability to authenticate via OAuth 2.0 to the REST API. Individual user authentication to the REST API is still at OAuth 1.0a,

Jira-OAuth-Comment.PNG

am I missing something here, Could you please help me 

Artur Moura
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 18, 2023

Hey @customer

Thanks for your reply!

Based on this JRASERVER-76317 opened bug, the documentation is being updated. I have the confirmation this https://developer.atlassian.com/server/jira/platform/rest-apis/#:~:text=Authentication%20and%20authorization-,Authentication,-.%C2%A0The%20following%20authentication  documentation was already updated.

Here in this comment we also have a confirmation that OAuth 2.0 is working.

Please let me know your thoughts.

Suggest an answer

Log in or Sign up to answer