We are planning on adding a Profile SPI in the future. The built-in
provider will be configurable and allow creating a list of simple
attributes, marking which are required and also select some basic
validation. For more advanced profiles/validation it will be possible to
provide your own profile provider.
In the mean time you need to create a custom authentication flow with a
custom authenticator to achieve this. For registration you need to also
create a custom registration flow. See the authenticators section in the
documentation for more details.
On 1 April 2016 at 16:14, Guus der Kinderen <guus.der.kinderen(a)gmail.com>
wrote:
Hello,
Chapter 32 of the Keycloak user manual describes how custom user
attributes can be used. Is there a way to validate the user attribute
values server-sided (as opposed to in the theme / client-sided)?
In our case, we'd like to require our users to supply a particular value,
which must match one of many pre-defined values. We do not want to expose
the entire list of valid values publicly though.
Regards,
Guus
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user