From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 12DB11FF136 for ; Mon, 20 Apr 2026 17:38:26 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 758BF7754; Mon, 20 Apr 2026 17:38:25 +0200 (CEST) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 20 Apr 2026 17:37:50 +0200 Subject: Superseded: Re: [pve-devel] [PATCH access-control/manager/proxmox v3 0/3] fix #5076: Added Open ID audiences Cc: "pve-devel" To: "Proxmox VE development discussion" Message-Id: X-Mailer: aerc 0.20.0 References: <20250603091256.40923-1-a.abraham@proxmox.com> In-Reply-To: <20250603091256.40923-1-a.abraham@proxmox.com> From: "Shannon Sterz" X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1776699386676 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.123 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: RE3RDECEE5YKCVJ4X47KYPE2ZYAO7UQH X-Message-ID-Hash: RE3RDECEE5YKCVJ4X47KYPE2ZYAO7UQH X-MailFrom: s.sterz@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Superseded-by: https://lore.proxmox.com/pve-devel/20260420153332.414620-4-s= .sterz@proxmox.com/T/#u On Tue Jun 3, 2025 at 11:12 AM CEST, Alexander Abraham wrote: > This series adds support for handling Open ID audiences as > described in bug #5076. PVE's API schema was updated to > accept an optional field, an array of strings and the Rust > code was also updated to accordingly handle any incoming > audiences and compare them to the realm config's audiences. > In the realm dialogue for adding an Open ID realm, a new field > titled "Audiences" was added so that users can save any audiences > in their realm domains config file. > > proxmox: > > Alexander Abraham (1): > fix #5076: Added logic to handle OIDC audiences > > proxmox-openid/src/lib.rs | 20 ++++++++++++++++++-- > 1 file changed, 18 insertions(+), 2 deletions(-) > > > pve-access-control: > > Alexander Abraham (1): > fix #5076: Added an optional "audiences" field > > src/PVE/API2/OpenId.pm | 463 +++++++++++++++++++++++------------------ > src/PVE/Auth/OpenId.pm | 141 +++++++------ > 2 files changed, 335 insertions(+), 269 deletions(-) > > > pve-manager: > > Alexander Abraham (1): > fix #5076: Added an "audiences" field for Open ID > > www/manager6/Parser.js | 27 +++++++++++++++++++++++++++ > www/manager6/dc/AuthEditBase.js | 8 ++++++++ > www/manager6/dc/AuthEditOpenId.js | 10 +++++++++- > 3 files changed, 44 insertions(+), 1 deletion(-) > > > Summary over all repositories: > 6 files changed, 397 insertions(+), 272 deletions(-)