<div dir="ltr">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.<div><br></div><div>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.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 April 2016 at 16:14, Guus der Kinderen <span dir="ltr">&lt;<a href="mailto:guus.der.kinderen@gmail.com" target="_blank">guus.der.kinderen@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>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)? </div><div><br></div><div>In our case, we&#39;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.</div><div><br></div><div>Regards,</div><div><br></div><div>  Guus</div></div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>