public inbox for pmg-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pmg-devel] [PATCH pve-common/proxmox-perl-rs/pmg-api/pmg-gui v2 0/7] fix #3892: OpenID
@ 2024-05-07  8:47 Markus Frank
  2024-05-07  8:47 ` [pmg-devel] [PATCH pve-common v2 1/7] add Schema package with Auth module that contains realm sync options Markus Frank
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Markus Frank @ 2024-05-07  8:47 UTC (permalink / raw)
  To: pmg-devel

overall v2 change:
* replace OpenID to OpenID Connect
* renamed OpenID.pm to OIDC.pm
* renamed realm type "openid" to "oidc"
* moved realm sync options to pve-common
* transformed valid_pmg_realms to valid_pmg_realm_regex function
* added is_valid_realm function


Patch-series to enable OpenID Login for PMG

apply/compile order:

1. pve-common: add Schema package with auth module that contains realm sync options
2. proxmox-perl-rs: move openid code from pve-rs to common
3. pmg-api: config: add plugin system for realms & add openid type realms
4. pmg-api: api: add/update/remove realms like in PVE
5. pmg-api: api: openid login similar to PVE
6. pmg-gui: login: add option to login with OpenID realm
7. pmg-gui: add pmxAuthView panel to UserManagement


pve-common:

Markus Frank (1):
  add Schema package with auth module that contains realm sync options

 src/Makefile           |  2 ++
 src/PVE/Schema/Auth.pm | 82 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)
 create mode 100644 src/PVE/Schema/Auth.pm


proxmox-perl-rs:

Markus Frank (1):
  move openid code from pve-rs to common

 common/src/mod.rs        |  1 +
 common/src/openid/mod.rs | 63 ++++++++++++++++++++++++++++++++++++++++
 pmg-rs/Cargo.toml        |  1 +
 pmg-rs/src/lib.rs        |  1 +
 pmg-rs/src/openid/mod.rs | 47 ++++++++++++++++++++++++++++++
 pve-rs/src/openid/mod.rs | 32 +++++---------------
 6 files changed, 121 insertions(+), 24 deletions(-)
 create mode 100644 common/src/openid/mod.rs
 create mode 100644 pmg-rs/src/openid/mod.rs


pmg-api:

Markus Frank (3):
  config: add plugin system for realms & add openid type realms
  api: add/update/remove realms like in PVE
  api: openid login similar to PVE

 src/Makefile                  |   5 +
 src/PMG/API2/AccessControl.pm |  17 ++-
 src/PMG/API2/Authdomains.pm   | 274 ++++++++++++++++++++++++++++++++++
 src/PMG/API2/OIDC.pm          | 243 ++++++++++++++++++++++++++++++
 src/PMG/AccessControl.pm      |  31 ++++
 src/PMG/Auth/OIDC.pm          |  99 ++++++++++++
 src/PMG/Auth/PMG.pm           |  28 ++++
 src/PMG/Auth/Plugin.pm        | 193 ++++++++++++++++++++++++
 src/PMG/HTTPServer.pm         |   2 +
 src/PMG/RESTEnvironment.pm    |  14 ++
 src/PMG/UserConfig.pm         |  25 ++--
 src/PMG/Utils.pm              |  29 +++-
 12 files changed, 943 insertions(+), 17 deletions(-)
 create mode 100644 src/PMG/API2/Authdomains.pm
 create mode 100644 src/PMG/API2/OIDC.pm
 create mode 100755 src/PMG/Auth/OIDC.pm
 create mode 100755 src/PMG/Auth/PMG.pm
 create mode 100755 src/PMG/Auth/Plugin.pm



pmg-gui:

Markus Frank (2):
  login: add OpenID realms
  add panel for realms to User Management

 js/LoginView.js      | 200 +++++++++++++++++++++++++++++++++----------
 js/UserManagement.js |   6 ++
 js/Utils.js          |  15 ++++
 3 files changed, 174 insertions(+), 47 deletions(-)

-- 
2.39.2



_______________________________________________
pmg-devel mailing list
pmg-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-05-24  7:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-07  8:47 [pmg-devel] [PATCH pve-common/proxmox-perl-rs/pmg-api/pmg-gui v2 0/7] fix #3892: OpenID Markus Frank
2024-05-07  8:47 ` [pmg-devel] [PATCH pve-common v2 1/7] add Schema package with Auth module that contains realm sync options Markus Frank
2024-05-07  8:47 ` [pmg-devel] [PATCH proxmox-perl-rs v2 2/7] move openid code from pve-rs to common Markus Frank
2024-05-24  7:08   ` Wolfgang Bumiller
2024-05-07  8:47 ` [pmg-devel] [PATCH pmg-api v2 3/7] config: add plugin system for realms & add openid type realms Markus Frank
2024-05-07  8:47 ` [pmg-devel] [PATCH pmg-api v2 4/7] api: add/update/remove realms like in PVE Markus Frank
2024-05-07  8:47 ` [pmg-devel] [PATCH pmg-api v2 5/7] api: openid login similar to PVE Markus Frank
2024-05-07  8:47 ` [pmg-devel] [PATCH pmg-gui v2 6/7] login: add OpenID realms Markus Frank
2024-05-07  8:47 ` [pmg-devel] [PATCH pmg-gui v2 7/7] add panel for realms to User Management Markus Frank

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal