Vendor configuration recipe; review against your vendor version. This page is not evidence of fresh external interoperability. Release verification scope.
Integrations · OIDC
Proxmox VE SSO
Configure Proxmox Virtual Environment 7.1+ to authenticate administrators and users via Clavex using OpenID Connect. Map Clavex group claims to Proxmox pools, resource groups, and privilege levels.
Prerequisites
- Proxmox VE ≥ 7.1
- Root or Proxmox admin access
- Clavex at
https://id.acme.eu, org slugacme - HTTPS with a trusted certificate on both Proxmox and Clavex
Step 1 — Register OIDC Client in Clavex
Register in the organization console. Create the matching OIDC application or downstream SAML application using its actual supported configuration. Copy the exact callback and required client credentials into the vendor configuration below. The management API uses an organization ID and typed request fields; follow the current OIDC guide and release API schema, rather than the obsolete client_name/scopes recipe. Keep credentials server-side.
Redirect URI: Proxmox uses its own base URL (including port 8006) as the
redirect URI. Ensure the exact URL
https://proxmox.acme.eu:8006 is registered.
Do not add a trailing slash or path.
Step 2 — Add OpenID Realm in Proxmox
Via Web UI
- Datacenter → Permissions → Realms → Add → OpenID Connect Server
- Fill in:
Field Value Realm clavexIssuer URL https://id.acme.eu/acmeClient ID proxmoxClient Key cs_xxxxxxxxxxxxxxxxUsername claim emailDefault check if you want this as the default realm Autocreate Users enable to auto-provision on first login
Via pveum CLI
$ pveum realm add clavex --type openid \
--issuer-url "https://id.acme.eu/acme" \
--client-id "proxmox" \
--client-key "cs_xxxxxxxxxxxxxxxx" \
--username-claim "email" \
--autocreate 1 \
--comment "Clavex OIDC SSO"
# Verify realm was created $ pveum realm list
# Verify realm was created $ pveum realm list
Step 3 — Assign Permissions to SSO Users
Proxmox creates SSO users with the format user@email.com@clavex.
Assign permissions to individual users or create a group:
# Create a group for infra admins
$ pveum group add infra-admins --comment "Infrastructure Admins"
# Grant the group PVEAdmin role on the datacenter $ pveum acl modify / -group infra-admins -role PVEAdmin
# After a user logs in via SSO, add them to the group $ pveum group member add infra-admins -user "alice@acme.eu@clavex"
# Grant the group PVEAdmin role on the datacenter $ pveum acl modify / -group infra-admins -role PVEAdmin
# After a user logs in via SSO, add them to the group $ pveum group member add infra-admins -user "alice@acme.eu@clavex"
Step 4 — Test Login
- Navigate to
https://proxmox.acme.eu:8006 - On the login screen, change the Realm dropdown to
clavex - Click Login — you will be redirected to Clavex
- After authentication, you land back on Proxmox with the user's role applied
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
SSL peer certificate verification failed |
Proxmox can't verify Clavex TLS cert | Add Clavex CA to Proxmox: update-ca-certificates |
| Realm not listed in dropdown | Realm not created or not enabled | Run pveum realm list; ensure --autocreate was included |
| User has no permissions after login | SSO user not assigned to any group/role | Assign role via pveum acl modify or add user to group in Proxmox UI |
invalid_client from Clavex |
Client ID or secret mismatch | Verify pveum realm config clavex shows correct client-id |
| Redirect URI mismatch error | Proxmox URL with port not registered | Ensure redirect_uris in Clavex includes https://host:8006 (no trailing slash) |