Creating users in the sso/openid realm

f4242

Well-Known Member
Dec 19, 2016
101
4
58
Quebec, QC
Hello,

I'm trying to configure openid SSO. I created the realm and disabled auto creation of users. How I'm supposed to create the users? In PVE, when I create a user, I can select the realm in the form but in PBS this field is missing from the GUI. Also, when trying in CLI, I get an error:

root@pbs:/# proxmox-backup-manager user create test@sso
Error: unknown realm 'sso'

Thank you!
 
proxmox-backup-manager user create test@sso should work - are you sure the realm name is correct?

Code:
$ proxmox-backup-manager openid list
┌───────┬────────────┬─────────┐
│ realm  │ issuer-url │ comment │
╞═══════╪════════════╪═════════╡
│ test   │ test       │         │
└───────┴────────────┴─────────┘

$ proxmox-backup-manager user create test@test
 
Hello,

Yes the realm is displayed with the openid list command, but I can't create user.

Code:
root@pbs:~# proxmox-backup-manager openid list
┌───────┬─────────────────────┬─────────┐
│ realm │ issuer-url          │ comment │
╞═══════╪═════════════════════╪═════════╡
│ sso   │ https://auth.****** │         │
└───────┴─────────────────────┴─────────┘
root@pbs:~# proxmox-backup-manager user create test@sso
Error: unknown realm 'sso'
root@pbs:~# proxmox-backup-manager versions
proxmox-backup-server 2.3.3-1 running version: 2.3.3
 
same version, works without issues here.. could you post your (censored) /etc/proxmox-backup/domains.cfg ?
 
the really good news is it will also bring GUI adding of non-PAM realm users :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!