Integrate with Proxmox VE
Support level: Community
What is Proxmox VE?
Proxmox VE is an open-source virtualization platform for managing virtual machines, containers, storage, and networks from a web interface or CLI.
-- https://www.proxmox.com/en/products/proxmox-virtual-environment
Preparation
The following placeholders are used in this guide:
proxmox.companyis the FQDN of the Proxmox VE installation.authentik.companyis the FQDN of the authentik installation.
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.
authentik configuration
In authentik versions earlier than 2026.5, all Redirect URIs are automatically treated as Authorization type. If you are using one of these older authentik versions, add only the Authorization URL to your Redirect URIs and do not configure a Post Logout URI.
To support the integration of Proxmox VE with authentik, you need to create an application/provider pair in authentik. If you want Proxmox VE to map permissions from OIDC group data, you can also create application entitlements.
Create an application and provider
- Log in to authentik as an administrator and open the authentik Admin interface.
- Navigate to Applications > Applications and click New Application to open the application wizard.
- Application: provide a descriptive name, an optional group for the type of application, the policy engine mode, and optional UI settings. Note the application Slug, because it will be required later.
- Choose a Provider type: select OAuth2/OpenID Connect as the provider type.
- Configure the Provider: provide a name (or accept the auto-provided name), the authorization flow to use for this provider, and the following required configurations:
- Note the Client ID and Client Secret values because they will be required later.
- Add a Redirect URI of type
StrictAuthorizationashttps://proxmox.company:8006. - Select any available signing key.
- Configure Bindings (optional): you can create a binding (policy, group, or user) to manage the listing and access to applications on a user's Application Dashboard page.
- Click Submit to save the new application and provider.
Create application entitlements (optional)
Use application entitlements if you want authentik to send Proxmox VE group values for permission mapping.
- Open the Proxmox VE application in authentik.
- Click the Application entitlements tab.
- Create entitlements for the Proxmox VE groups that authentik should send, then bind each entitlement to the appropriate users or groups. Use Proxmox VE-compatible group names, such as
pve-admins. - Navigate to Applications > Providers.
- Select your provider for Proxmox VE and click Edit.
- Under Advanced protocol settings > Selected Scopes, add
authentik default OAuth Mapping: OpenID 'entitlements'. - Click Update.
Proxmox VE appends -<realm_name> to OIDC group names. For example, with a Proxmox VE realm named authentik, an entitlement named pve-admins is mapped as the Proxmox VE group pve-admins-authentik.
Proxmox VE configuration
Configure the realm in the web interface
- Log in to the Proxmox VE web interface using an administrative account.
- Navigate to Datacenter > Permissions > Realms.
- Click Add and select OpenID Connect Server.
- Configure the following settings:
- Issuer URL:
https://authentik.company/application/o/<application_slug>/ - Realm: enter a name for this authentication source, such as
authentik. - Client ID: enter the Client ID from the authentik provider.
- Client Key: enter the Client Secret from the authentik provider.
- Username Claim: select
username. - Autocreate Users: enable this option if Proxmox VE should create users during their first login.
- Default: enable this option if this realm should be pre-selected on the login screen.
- Issuer URL:
- If you created application entitlements for Proxmox VE group mapping, also configure the following settings:
- Scopes:
email profile entitlements - Groups Claim:
entitlements - Autocreate Groups: enable this option if Proxmox VE should create groups during login when they do not already exist.
- Scopes:
- Click Add to save the realm.
Configure the realm with the CLI (optional)
To configure the OpenID Connect realm from the CLI, SSH into any Proxmox VE cluster node and run the following command:
pveum realm add authentik \
--type openid \
--issuer-url https://authentik.company/application/o/<application_slug>/ \
--client-id "<Client ID from authentik>" \
--client-key "<Client Secret from authentik>" \
--username-claim username \
--autocreate 1
If you created application entitlements for Proxmox VE group mapping, add the following options to the command:
--scopes "email profile entitlements" --groups-claim entitlements --groups-autocreate 1
Assign permissions
After the realm is configured, go to Datacenter > Permissions and assign roles to the users or groups that should access Proxmox VE resources.
Configuration verification
To verify the integration of authentik with Proxmox VE, log out of Proxmox VE, select the authentik realm on the login page, and sign in. If you set the authentik realm as the default, it is automatically selected on the login page.