Creating users in the sso/openid realm

f4242

Renowned Member
Dec 19, 2016
104
5
83
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 :)