Open theS1LV3R opened 1 year ago
Hi
OIDC is already a very simple strategy to authenticate against XO and doesn't require any complex configuration (see our tutorial with Keycloak).
We do not use Kerberos here, so we do not have any way to test against it. Indeed, our JS library used to connect seems to support it, but we have 0 knowledge on what's needed to provide.
If you want to help, you can already provide a list of fields required (draw like if it was similar to the OIDC plugin for example). Note that's hard for us to maintain many different kind of auth since we need to test them in our environment (so it means installing FreeIPA first and understand how it works).
If you can contribute more (eg with code) we'll be even happier :smiley:
I'll see what I can do! It would be a sweet feature to have.
I'll get back to you.
Here is a screenshot of what it could look like.
The general flow for how Kerberos works in this case, also called SPNEGO (Simple and Protected GSSAPI Negotiation Mechanism), would be as follows (Works the same for both FreeIPA and Active Directory:
HTTP/xen-orchestra.example.com@EXAMPLE.COM
, service/hostname@DOMAIN
.WWW-Authenticate: Negotiate
headerI.e. the server would need to have gotten a keytab from the DC itself before being able to do anything, so the keyTab
argument in the first screenshot
Whoops, accidentally closed
Is your feature request related to a problem? Please describe. The current authentication system lacks support for Kerberos. Kerberos is great for quick and easy authentication, especially in linux-based environments.
Describe the solution you'd like Implementation of Kerberos authentication to make authentication simpler and faster.
Describe alternatives you've considered Xen Orchestra supports a bunch of other auth methods, but all of them require another form of interaction (OAuth based require authorization on their respective websites, LDAP requires filling in credentials). Kerberos requires no additional action to authenticate the user after loading the website.
Additional context In my organization we use FreeIPA for IDP. It supports joining machines, and having those machines give Kerberos tickets to users to authenticate them on websites that support it. No additional action required.