n0v1c3 / vira

Create and update your Jira issues while inside Vim!
MIT License
94 stars 12 forks source link

VIRA-293: Allow Personal Access Token (PAT) Auth #76

Open jacobstr opened 2 years ago

jacobstr commented 2 years ago

Personal access tokens authenticate via the 'Authorization: Bearer xxx' header. It looks like VIRA only supports basic auth at the moment.

Description of the feature is here: https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html

When using the python API, these creds can be provided via:

jir = JIRA(options={"headers": {"Authorization": "Bearer xxxx"}})
n0v1c3 commented 2 years ago

VIRA-293 now has an active branch for anyone that would like to test this for me. I am working on other clean-up for the dev branch then it should all come together for a master push.