githubEdit

Realtime input validation

circle-exclamation

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

NOTE: User profile is only available in Keycloak 15 and it's a beta feature that needs to be enabled when launching keycloakarrow-up-right and enabled in the consolearrow-up-right.

Keycloakify, in register-user-profile.ftlarrow-up-right, provides frontend validation out of the box.

For implementing your own register-user-profile.ftl page, you can use import { useFormValidationSlice } from "keycloakify";arrow-up-right. Find usage example herearrow-up-right.

As for right now it's not possible to define a pattern for the passwordarrow-up-right from the admin console. You can however pass validators for it to the useFormValidationSlice functionarrow-up-right.

Last updated

Was this helpful?