Product Guide
...
Kubeark Identity
Stages
Prompt stage
3min
prompt types and attributes the prompt can be any of the following types type description text arbitrary text no client side validation is done text (read only) same as above, but cannot be edited text area arbitrary multiline text no client side validation is done text area (read only) same as above, but cannot be edited username same as text, except the username is validated to be unique email text input, ensures the value is an email address (validation is only done client side) password same as text, shown as a password field client side, and custom validation (see below) number numerical textbox checkbox simple checkbox radio button group similar to checkboxes, but allows selecting a value from a set of predefined values dropdwon a simple dropdown menu filled with predefined values date same as text, except the client renders a date picker date time same as text, except the client renders a date time picker file allow users to upload a file, which will be available as base64 encoded data in the flow separator passive element to group surrounding elements hidden hidden input field allows for the pre setting of default values static display arbitrary value as is authentik locale display a list of all locales authentik supports the prompt has the following attributes attribute description field key the field name used for the prompt label the label used to describe the field required a flag which decides whether or not this field is required placeholder a field placeholder shown with the input field initial value the prompt's initial value it can also be left empty, in which case the field will not have a pre filled value order the numerical index of the prompt this applies to all stages which this prompt is a part of validation policies can be used to perform further validation as an example, to validate that two password fields are identical, you can create the following expression policy if request context get('prompt data') get('password') == request context get('prompt data') get('password repeat') return true ak message("passwords don't match ") return falsel