The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events