Forums

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

Jira on-prem/cloud API Personal Access Token (PAT)

en666 en666
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!
May 17, 2022

Already spent a lot of time and can't find in the documentation how to use Bearer with Jira Cloud.

Jira on-prem allows to create a Personal Access Token (PAT) you can then add to the request headers as:

"Authorization: Bearer Mzcx..."

Jira Cloud allows to create an API Token you can't then add as a Bearer, but you'll need to use basic auth as:

-u email@address.com:Mzcx...

Additionally, Jira documention often mentions that basic auth is/is about to be deprecated for security concerns.

I want to be able to keep things easy and use the Personal Access Token (PAT) mechanism with Bearer both on-prem and on-cloud. Is this possible at all? Am I missing something?

 

1 answer

1 vote
Slava Dobromyslov
Contributor
November 30, 2022

You are right. As of today, Cloud allows only API Tokens + Auth Basic. Server/Data Center allows PATs + Auth Bearer.

Deleted user April 27, 2023

Are there any plans to change that? Curious why there would not be parity between cloud-based Jira vs Server/Data Center.

Like vasanth likes this

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