Skip to content

Add Preferred languages to Application Registration Configuration #1949

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jul 28, 2023
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions site/docs/v1/tech/apis/_application-request-body.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,12 @@ Determines if the `mobilePhone` field will be included on the registration form.
[field]#application.registrationConfiguration.mobilePhone.required# [type]#[Boolean]# [optional]#Optional# [default]#Defaults to `false`# [since]#Available since 1.4.0#::
Determines if the `mobilePhone` field is required when displayed on the registration form.

[field]#application.registrationConfiguration.preferredLanguages.enabled# [type]#[Boolean]# [optional]#Optional# [default]#Defaults to `false`# [since]#Available since 1.44.0#::
Determines if the `preferredLanguages` field will be included on the registration form. The field will display all available link:/docs/v1/tech/reference/data-types#locales[locales] and is not configurable.

[field]#application.registrationConfiguration.preferredLanguages.required# [type]#[Boolean]# [optional]#Optional# [default]#Defaults to `false`# [since]#Available since 1.44.0#::
Determines if the `preferredLanguages` field is required when displayed on the registration form.

[field]#application.registrationConfiguration.type# [type]#[String]# [optional]#Optional# [default]#Defaults to `basic`# [since]#Available since 1.18.0#::
The type of registration flow.
+
Expand Down
6 changes: 6 additions & 0 deletions site/docs/v1/tech/apis/_application-response-body-base.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,12 @@ Determines if the `mobilePhone` field will be included on the registration form.
[field]#{base_field_name}.registrationConfiguration.mobilePhone.required# [type]#[Boolean]# [since]#Available since 1.4.0#::
Determines if the `mobilePhone` field is required when displayed on the registration form.

[field]#{base_field_name}.registrationConfiguration.preferredLanguages.enabled# [type]#[Boolean]# [since]#Available since 1.44.0#::
Determines if the `preferredLanguages` field will be included on the registration form.

[field]#{base_field_name}.registrationConfiguration.preferredLanguages.required# [type]#[Boolean]# [since]#Available since 1.44.0#::
Determines if the `preferredLanguages` field is required when displayed on the registration form.

[field]#{base_field_name}.registrationConfiguration.type# [type]#[String]# [since]#Available since 1.18.0#::
The type of registration flow.
+
Expand Down
1 change: 1 addition & 0 deletions site/docs/v1/tech/guides/advanced-registration-forms.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Basic registration is limited to a single step and offers minimal configuration.
* Last name
* Middle name
* Mobile phone
* Preferred languages

Any displayed fields can be required for successful registration. You can choose to use a username or an email for your login identifier. A password field is displayed and required.

Expand Down