[PATCH manager v5 4/8] fix #5076: ui: dc: add an optional "audiences" field for open id realms

Shannon Sterz
2026-04-23T13:36:48Z

allows users to configure additional open id audiences that may be
provided by the open id realm.

Originally-by: Alexander Abraham <a.abraham@proxmox.com>
[SS:
* removed unnecessary helper functions
* send the 'audiences' property as a string to the backend instead of
an array to be consistent with other options
* rephrased commit message for clarity
]

Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
---
www/manager6/dc/AuthEditOpenId.js | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/www/manager6/dc/AuthEditOpenId.js b/www/manager6/dc/AuthEditOpenId.js
index dc6c22e61..088eb8191 100644
--- a/www/manager6/dc/AuthEditOpenId.js
+++ b/www/manager6/dc/AuthEditOpenId.js
@@ -149,6 +149,15 @@ Ext.define('PVE.panel.OpenIDInputPanel', {
deleteEmpty: '{!isCreate}',
},
},
+ {
+ xtype: 'proxmoxtextfield',
+ name: 'audiences',
+ fieldLabel: gettext('Audiences'),
+ submitEmpty: false,
+ cbind: {
+ deleteEmpty: '{!isCreate}',
+ },
+ },
],

initComponent: function () {
--
2.47.3