triauth for Proxmox VEOIDC
Let your IT team open the Proxmox VE web interface with one approval on their own device, and no Proxmox VE passwords.
- Sign-in through
- OpenID Connect bridge
- Available in
- Every Proxmox VE installation
- Set up in
- Datacenter › Permissions › Realms
About Proxmox VE
Proxmox Virtual Environment, or Proxmox VE, is the software a company installs on its own servers to run virtual machines and containers, so that one physical machine does the work of many. The IT team creates, backs up, and moves those virtual servers from a web interface.
Connect Proxmox VE to triauth
Proxmox VE keeps its users in realms, and one realm can point at the triauth OpenID Connect bridge. People then choose that realm on the sign-in screen, type their username, and approve on their own device. Nobody keeps a Proxmox VE password, and when someone leaves, removing their identity records at your domain ends their access to Proxmox VE as well.
How it works
- Open oidc.triauth.org and enter your domain. Paste the address your team uses to open the Proxmox VE web interface, such as
https://pve.example.com:8006, as the redirect address, and click Connect app. - In Proxmox VE, open Datacenter › Permissions › Realms, click Add, and choose OpenID Connect Server. Enter
https://oidc.triauth.org/example.com, with your domain in place ofexample.com, as Issuer URL, the client ID as Client ID, and the client secret as Client Key. Name the realm, for exampletriauth, set Username Claim toemail, and tick Autocreate Users if new people should get an account at their first sign-in. - On the sign-in screen, choose the new realm and click Login (OpenID redirect).
Checkpoint
After choosing the realm, the sign-in screen's button reads Login (OpenID redirect). Clicking it opens a page from the bridge that asks for the username, and the person's authenticator asks them to approve. Back in Proxmox VE, the person is signed in as their identifier followed by @ and the realm's name.
Good to know
- Proxmox VE sends people back to the exact address they used to open the web interface. Pick one address for everyone, or connect each address, such as each node of a cluster, as its own app on the bridge with its own realm.
- Permissions in Proxmox VE go to users and groups. With a groups claim set on the realm, the groups published at your domain appear as Proxmox VE groups, named after the group and the realm.
- Everyone keeps their other Proxmox VE accounts, such as the local root account, which still signs in with its password when the bridge is unreachable.
For the person who connects the app
| Setting | Value |
|---|---|
| Redirect address | the address of the web interface, such as https://<your-proxmox>:8006, with no path |
| Where in Proxmox VE | Datacenter › Permissions › Realms › Add › OpenID Connect Server, or pveum realm add on the command line |
| Issuer URL | https://oidc.triauth.org/<your domain>, which Proxmox VE reads the rest from |
| Client ID and Client Key | from the bridge |
| Username Claim | email |
| Scopes | email profile, plus groups to receive the groups published at your domain |
| Groups Claim | groups, with Autocreate Groups to create them in Proxmox VE |
Proxmox VE also works without a client key, if you tick This app can't keep a secret when you connect it on the bridge. The OpenID Connect section of the Proxmox VE Administration Guide explains every setting.
Next steps
- Read the OpenID Connect bridge page for what every connected app gets and what the bridge keeps private.
- Read Roll out to your team to give everyone in your organization an identifier at your domain.
- Read Groups to publish teams and grant Proxmox VE permissions by group.
- Read the OpenID Connect section of the Proxmox VE Administration Guide for every setting it offers.
All logos and trademarks belong to their respective owners and do not imply affiliation or endorsement of the organization or product by triauth, nor vice versa. The content provided on this page may include information from third-party sources. We do not assume any responsibility for the completeness, correctness, or applicability of the information. You should independently verify any details before relying on them.