website/integrations/hypervisors-orchestrators/xen-orchestra/index.md
Xen Orchestra provides a user friendly web interface for every Xen based hypervisor (XenServer, xcp-ng, etc.).
:::info
Xen Orchestra offers authentication plugins for OpenID Connect, SAML and LDAP. This guide is using the OpenID Connect plugin.
If you are using the Xen Orchestra Appliance, the OIDC Plugin should be present. If you are using Xen Orchestra compiled from sources, make sure the plugin auth-oidc is installed.
:::
The following placeholders are used in this guide:
xenorchestra.company is the FQDN of the Xen Orchestra instance.authentik.company is the FQDN of the authentik installation.:::info This documentation lists only the settings that you need to change from their default values. Be aware that any changes other than those explicitly mentioned in this guide could cause issues accessing your application. :::
To support the integration of Xen Orchestra with authentik, you need to create an application/provider pair in authentik.
Strict redirect URI to https://xenorchestra.company/signin/oidc/callback.Xen Orchestra allows the configuration of the OpenID Connect authentication in the plugin-section. All of the URLs mentioned below can be copied & pasted from authentik (Applications > Providers > the provider created earlier).
Auto-discovery URL to https://authentik.company/application/o/xenorchestra/.well-known/openid-configuration.Client identifier (key) to the Client ID from your notes.Client secret to the Client Secret from your notes.Fill information (optional) checkbox to open the advanced menu.Username field to usernameScopes to openid profile emailauth-oidc-Plugin by toggling the switch above the configuration.:::info
The first time a user signs in, Xen Orchestra will create a new user with the same username used in authentik. If you want to map the users by their e-mail-address instead of their username, you have to set the Username field to email in the Xen Orchestra plugin configuration.
:::