X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=blobdiff_plain;f=src%2FPVE%2FAuth%2FOpenId.pm;h=69b5b5e1912600aca598ac0857875e42b7a44ebe;hp=eb6c3518d311f0a2034b24d0b1415ccc530a5b82;hb=348c703875aac5c80b6f2327fe2b9024601203f5;hpb=83f0ad5d8d146e21fe21522aac4a6f8ea80b1f74 diff --git a/src/PVE/Auth/OpenId.pm b/src/PVE/Auth/OpenId.pm index eb6c351..69b5b5e 100755 --- a/src/PVE/Auth/OpenId.pm +++ b/src/PVE/Auth/OpenId.pm @@ -42,6 +42,13 @@ sub properties { type => 'string', optional => 1, }, + prompt => { + description => "Specifies whether the Authorization Server prompts the End-User for" + ." reauthentication and consent.", + type => 'string', + pattern => '(?:none|login|consent|select_account|\S+)', # \S+ is the extension variant + optional => 1, + }, }; } @@ -52,6 +59,7 @@ sub options { "client-key" => { optional => 1 }, autocreate => { optional => 1 }, "username-claim" => { optional => 1, fixed => 1 }, + prompt => { optional => 1 }, default => { optional => 1 }, comment => { optional => 1 }, };