[pve-devel] [PATCH pve-access-control v2 0/5] add OpenId realms

Dietmar Maurer dietmar at proxmox.com
Wed Jun 30 08:10:02 CEST 2021


Changes in v2:
- also check if user is expired (in check_user_enabled)
- always die with newline
- rename "user-attr" to "username-claim"


Dietmar Maurer (5):
  check_user_enabled: also check if user is expired
  add OpenId configuration
  depend on libpve-rs-perl
  api: implement openid API
  implement OpenID autocreate user feature

 debian/control                |   2 +
 src/PVE/API2/AccessControl.pm |  60 ++-------
 src/PVE/API2/Makefile         |   3 +-
 src/PVE/API2/OpenId.pm        | 238 ++++++++++++++++++++++++++++++++++
 src/PVE/AccessControl.pm      |  18 +--
 src/PVE/Auth/Makefile         |   3 +-
 src/PVE/Auth/OpenId.pm        |  68 ++++++++++
 src/PVE/RPCEnvironment.pm     |  49 +++++++
 8 files changed, 378 insertions(+), 63 deletions(-)
 create mode 100644 src/PVE/API2/OpenId.pm
 create mode 100755 src/PVE/Auth/OpenId.pm

-- 
2.30.2





More information about the pve-devel mailing list