This is the documentation for v6, checkout the latest version
Keycloakify
HomeGitHubStartersStorybookDiscordKeycloak-js Alternative
v5
  • Keycloakify
  • Release Notes & Upgrade Instructions
  • FAQ
v5
  • ๐ŸRequirements
  • ๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จ๐Ÿ’ป Quick start
  • ๐ŸงชDevelopment
  • ๐Ÿ“งEmail customization
  • โœ’๏ธTerms and conditions
  • โœ…Realtime input validation
  • โš ๏ธLimitations
  • ๐ŸŒ‰Context persistence
  • ๐ŸŒAdding i18n messages keys
  • โšกPerformance optimization
  • ๐Ÿ’‚Email domain acceptlist
  • ๐Ÿ›‘Keycloak error in log
  • ๐Ÿ’ŸContributing
Powered by GitBook
On this page

Was this helpful?

Realtime input validation

PreviousTerms and conditionsNextLimitations

Last updated 27 days ago

Was this helpful?

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 , what information you want to collect on your users in the register page and to validate inputs !

NOTE: User profile is only available in Keycloak 15 and it's a beta feature that and .

Keycloakify, in , provides frontend validation out of the box.

For implementing your own register-user-profile.ftl page, you can use . Find usage example .

As for right now from the admin console. You can however .

โœ…
register-user-profile.ftl
import { useFormValidationSlice } from "keycloakify";
here
it's not possible to define a pattern for the password
pass validators for it to the useFormValidationSlice function
define, from the admin console
on the frontend, in realtime
needs to be enabled when launching keycloak
enabled in the console