[midPoint] access requests: default validity

Markus Calmius markus.calmius at proton.ch
Fri Jan 24 11:19:30 CET 2025


Hi,

(Using midpoint 4.8.5)

is it possible to specify a default validity in the "shopping cart"
For test purposes, I've configured my checkout as below, but since the drop-down shows
"choose one" if you don't change that value the access will be forever.
If I do set mandatory to true, and select 1 hour, I get an error:
"At least one field of valid from/to has to be filled in" - which seems like a bug as I have clearly specified the validity.

It would be excellent if I could specify the default value of 1 Hour (or whatever if there are more values)

Kind regards,
Markus

<checkout>
<comment>
<mandatory>true</mandatory>
</comment>
<validityConfiguration>
<allowOnlyGlobalSettings>true</allowOnlyGlobalSettings>
<!--
<mandatory>true</mandatory>
-->
<predefinedValue>
<display>
<label>1 Hour</label>
</display>
<duration>PT60M</duration>
</predefinedValue>
</validityConfiguration>
</checkout>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20250124/5d9d787f/attachment.htm>


More information about the midPoint mailing list