Proxmox Backup Server
Sign in to Proxmox Backup Server with Pocket ID.
Replace pbs.example.com with the URL of your Proxmox Backup Server instance and id.example.com with the URL of your Pocket ID instance.
Create the client in Pocket ID
Section titled “Create the client in Pocket ID”- In Pocket ID, open Administration → OIDC Clients and click Add OIDC Client.
- Enter a name such as
Proxmox Backup Serverand add the callback URLhttps://pbs.example.com. - Click Create and copy the Client ID and the Client secret. The client secret is only shown once.
- On the client’s Access tab, select the groups that may sign in under Allowed User Groups, or choose All Users.
Configure Proxmox Backup Server
Section titled “Configure Proxmox Backup Server”- Open the PBS console and navigate to Configuration → Access Control → Realms.
- Add a new OpenID Connect Server realm.
- Enter
https://id.example.comfor the Issuer URL. - Enter a name for the realm of your choice, for example
PocketID. - Paste the Client ID from Pocket ID into the Client ID field in PBS.
- Paste the Client secret from Pocket ID into the Client Key field in PBS.
- (Optional) Check the Default box if you want this to be the default realm PBS uses when signing in.
- Check the Autocreate Users checkbox. This automatically creates users in PBS if they don’t exist.
- Select
usernamefor the Username Claim dropdown. This is a personal preference and controls how the username is shown, for exampleusername = username@PocketIDoremail = username@example@PocketID. - Leave the rest as defaults and click OK to save the new realm.
- Sign in with the Pocket ID account to create the user.
Once the user has been created in PBS, finish the setup:
- Sign back in as a local administrator to grant permissions.
- In PBS, edit the
PocketIDrealm you created earlier. - Set Scope to
openid profile email groups. - You should now see the user groups in PBS, and you can assign permissions:
- Navigate to Configuration → Access Control → Permissions.
- Click Add and select User Permission.
- Set Path to
/for the entire datacenter or specify a specific VM or container path. - Select the
YourUsername@PocketIDuser. - Set Role to
Administrator.