ticketutil icon indicating copy to clipboard operation
ticketutil copied to clipboard

Add support for more authentication methods

Open dmranck opened this issue 7 years ago • 3 comments

TicketUtil currently supports:

  • Kerberos for JIRA, RT
  • Basic Auth for Redmine, Bugzilla

Add support for more authentication methods.

dmranck avatar Mar 01 '17 19:03 dmranck

Can you please implement Basic Auth for JIRA ? Kerberos login is disabled on my JIRA instance.

Akasurde avatar May 26 '17 05:05 Akasurde

All tools support HTTP Basic authentication, while JIRA and RT also support Kerberos authentication. Look into if there are additional kinds of authentication we should be supporting in each tool.

dmranck avatar May 25 '18 17:05 dmranck

Possibly add authentication classes instead of the current implementation of just accepting a string for kerberos and a tuple for HTTP Basic auth.

Auth classes in Requests: http://docs.python-requests.org/en/master/user/authentication/

Previous idea for authentication classes: https://github.com/dmranck/ticketutil/pull/15/commits/30ba2f5aa9ab68924350f971e5181523b20a19f4 I like this idea, but think it should be generic across all tools, either in ticket.py or a separate auth.py file.

dmranck avatar May 25 '18 18:05 dmranck