dexador icon indicating copy to clipboard operation
dexador copied to clipboard

Adding kerberos authentication to dexador.

Open wmealing opened this issue 1 year ago • 1 comments

Gday,

This issue is asking for advice.

I find the need to use dexador to connect to a http server that requires kerberos authentication. I have kerberos authentication working on the local system, I am able to fetch multiple tickets, and use kerberos through the browser.

I would like to extend dexador to use kerberos authentication. I am unsure on the best way to do this.

  • Should I try to modify dexador itself to allow for kerberos style authentication.
  • Should I make a new library and wrap dexador and make custom handling of functions.
  • Should I try creating something in the style of https://pypi.org/project/requests-gssapi/ in lisp for as an authentication plugin for dexador.

If you recommend modifying dexador, would you accept a PR with the required functionality once it adheres to your requirements. Thank you for your time.

wmealing avatar Feb 13 '24 04:02 wmealing

I don't know how kerberos + http works so I can't answer your question, but felt that silence isn't a great answer either. My vague understanding is Kerberos authentication would be done before you even touch dexador, so you'd probably just be wrapping calls to get/put etc. with something that provides headers with appropriate keys. If you did need plug-in points inside dexador, I'd be happy to accept non-breaking changes to add them if needed (but warning: dexador is kind of an... ugly codebase... best avoided if you can).

ajberkley avatar Feb 14 '24 20:02 ajberkley