@poddingue said:
Most of it turns out to be in the XO docs already.
The passkeys section covers Keycloak, the WebAuthn flow and a Yubikey as second factor: https://docs.xen-orchestra.com/security/user-management/authentication-providers#enabling-passkeys-in-xoa-with-keycloak.
What I couldn't find on that page are your two operational points, keeping a local admin account for when the IdP is down and not hosting the IdP only on the pool XO manages.
I tried it on an XO built from sources with the OIDC plugin turned on: the login page still offers "Sign in with password" next to the OpenID Connect button, and a local admin could still log in, so a break-glass account should keep working, though I only had a dummy client, not a real Keycloak.
I'll see about getting a short note with those two points added to that page. @Greg_E, if a second factor without an IdP is enough for you, XO also does TOTP for local accounts (same page), though that's not a hardware key.
@poddingue Since Keycloak is already covered, it would also be great to document (or link to) lighter/modern self-hosted IdP alternatives—such as authentik, Authelia, Pocket ID, or Kanidm—alongside the best practice of running a duo or trio of bare-metal instances separate from the Vates stack.