public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Shannon Sterz <s.sterz@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [pdm-devel] [PATCH yew-comp 4/5] auth edit openid: add a default realm checkbox
Date: Tue, 14 Oct 2025 15:30:40 +0200	[thread overview]
Message-ID: <20251014133044.337162-5-s.sterz@proxmox.com> (raw)
In-Reply-To: <20251014133044.337162-1-s.sterz@proxmox.com>

so that openid realms can be set as default realms

Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
---
 src/auth_edit_openid.rs | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/auth_edit_openid.rs b/src/auth_edit_openid.rs
index 5c29e15..8968ea1 100644
--- a/src/auth_edit_openid.rs
+++ b/src/auth_edit_openid.rs
@@ -106,10 +106,7 @@ fn render_input_form(form_ctx: FormContext, props: AuthEditOpenID) -> Html {
                 .submit(!is_edit),
         )
         .with_right_field(tr!("Autocreate Users"), Checkbox::new().name("autocreate"))
-        .with_field(
-            tr!("Client ID"),
-            Field::new().name("client-id").required(true),
-        )
+        .with_field(tr!("Default Realm"), Checkbox::new().name("default"))
         .with_right_field(
             tr!("Username Claim"),
             Combobox::new()
@@ -120,13 +117,17 @@ fn render_input_form(form_ctx: FormContext, props: AuthEditOpenID) -> Html {
                 .placeholder(tr!("Default"))
                 .items(username_claim_items),
         )
-        .with_field(tr!("Client Key"), Field::new().name("client-key"))
+        .with_field(
+            tr!("Client ID"),
+            Field::new().name("client-id").required(true),
+        )
         .with_right_field(
             tr!("Scopes"),
             Field::new()
                 .name("scopes")
                 .placeholder(tr!("Default") + " (" + &tr!("email profile") + ")"),
         )
+        .with_field(tr!("Client Key"), Field::new().name("client-key"))
         .with_right_field(
             tr!("Prompt"),
             Combobox::new()
-- 
2.47.3



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


  parent reply	other threads:[~2025-10-14 13:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-14 13:30 [pdm-devel] [PATCH datacenter-manager/yew-comp 0/8] openid support for PDM Shannon Sterz
2025-10-14 13:30 ` [pdm-devel] [PATCH yew-comp 1/5] login_panel/realm_selector: use default realm provided by api Shannon Sterz
2025-10-14 13:30 ` [pdm-devel] [PATCH yew-comp 2/5] login_panel/realm_selector: add support for openid realm logins Shannon Sterz
2025-10-14 13:30 ` [pdm-devel] [PATCH yew-comp 3/5] auth view: add openid icon to openid menu option Shannon Sterz
2025-10-14 13:30 ` Shannon Sterz [this message]
2025-10-14 13:30 ` [pdm-devel] [PATCH yew-comp 5/5] utils/login panel: move openid redirection authorization helper to utils Shannon Sterz
2025-10-14 13:30 ` [pdm-devel] [PATCH datacenter-manager 1/3] api-types: add default field to openid realm config Shannon Sterz
2025-10-14 13:30 ` [pdm-devel] [PATCH datacenter-manager 2/3] server: api: add support for adding openid realms and openid logins Shannon Sterz
2025-10-17  7:57   ` Fabian Grünbichler
2025-10-17 13:36     ` Shannon Sterz
2025-10-14 13:30 ` [pdm-devel] [PATCH datacenter-manager 3/3] ui: enable openid realms in realm panel Shannon Sterz
2025-10-17  8:01 ` [pdm-devel] [PATCH datacenter-manager/yew-comp 0/8] openid support for PDM Fabian Grünbichler
2025-10-17 14:36   ` Shannon Sterz
2025-10-17 14:13 ` [pdm-devel] Superseded: " Shannon Sterz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251014133044.337162-5-s.sterz@proxmox.com \
    --to=s.sterz@proxmox.com \
    --cc=pdm-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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