Authentification with PAT not working

nada_bouslama
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!
June 11, 2023

Hello everyone,

i'm developping a react js web application and i need access to my jira account, to do so , i've created a PAT for a safer authentification , saved the token value. i'm following the instruction given in this doc https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html.

i'm testing it with postman, so instead of using basic auth with username and password i'm using Bearer token as instructed. however i always get  status 40* unauthorized.

i tried replacing password with token and still not working, could anyone please help me with that ?jira.png

1 answer

0 votes
Keith Morin
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 23, 2024

I have discovered that PAT are not working unless you are logged into Jira via browser, which is really weird.  It kind of defeats the purpose when you are automating something.

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