Question about Basic Authentication

Jozef Vandenmooter June 15, 2022

I can successfully authenticate against a Jira Server instance using the API with my userid and password, but not using my email address and a PAT. Does anyone know why that is? It thought the former was obsoleted in favor of the latter.

This works (using Jira userid and password):

image.png

This does not (using email address copied from Jira profile and a new PAT):

image.png

I am certain the PAT is correct as I can successfully use it as a Bearer Token:

image.png

Can anyone clarify this for me?

Thanks,

Jozef   

 

1 answer

0 votes
Prince Nyeche
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 Leaders.
June 15, 2022

I think the PAT requires just your username and not your email address if it works as Bearer. Just a hunch given the tests you've done.

Jozef Vandenmooter June 15, 2022

Ah no - tried that combo too!  :)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.22.1
TAGS
AUG Leaders

Atlassian Community Events