Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for authenticating with Personal Access Tokens on Jira Data Center #421

Closed
evilnerd opened this issue Nov 22, 2021 · 4 comments · Fixed by #422
Closed

Support for authenticating with Personal Access Tokens on Jira Data Center #421

evilnerd opened this issue Nov 22, 2021 · 4 comments · Fixed by #422
Assignees

Comments

@evilnerd
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Since the latest LTS version of Jira Data Center, we can now issue Personal Access Tokens and use those to authenticate (instead of clear-text username/passwords) -- which is very convenient for running automated tools that e.g. gather some information from Jira overnight.

Describe the solution you'd like

Support for PAT authentication, via a new AuthTransport (e.g. PATAuthTransport), which sits next to e.g. BasicAuthTransport.

Describe alternatives you've considered

I've tried to use Basic auth, substituing the password with the token, but Jira expects the token in an authentication header. Just works differently.

Additional context

Add any other context or screenshots about the feature request here.

@evilnerd
Copy link
Contributor Author

I have built a solution for this, I just wanted to connect it to a feature request. Please assign it to me.

@andygrunwald
Copy link
Owner

Sounds good. Assigned. Thanks @evilnerd!

@badnetmask
Copy link

I hope this helps getting this feature pushed. I tried the code in #422, and it works fine for me. Thank you.

@evilnerd
Copy link
Contributor Author

evilnerd commented Dec 5, 2021

Thanks @badnetmask ! -- I also hope this helps, because I want to release my work project with a version of the lib that supports PATs :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants