We should solve the following issues for 2.5.0: https://issues.jboss.org/browse/KEYCLOAK-3060 https://issues.jboss.org/browse/KEYCLOAK-3613 The current behavior of showing a form and throwing an error is not very elegant and this should be resolved before as part of user storage SPI work.