โœ…Realtime input validation

In reality the regexp used in this gif doesn't work server side, the regexp pattern should be ^[^@]@gmail\.com$ (the RegExp should match the whole string) ๐Ÿ˜ฌ.

User Profile is a Keycloak feature that enables to define, from the admin console, what information you want to collect on your users in the register page and to validate inputs on the frontend, in realtime!

NOTE: User profile is only available in Keycloak 15 and it's a beta feature that needs to be enabled when launching keycloak and enabled in the console.

Keycloakify provides client side validation out of the box but for customizing the registration experience you'll have customize register-user-profile.ftl

Example in the starter project:

As for right now Keycloak dosen't allow to define a pattern for the password in the admin console. You can however pass validators for it to the useFormValidation function. (this is why useFormValidation returns attributesWithPassword)

Last updated