[keycloak-user] User creation

Vlasta Ramik vramik at redhat.com
Fri Apr 12 02:54:53 EDT 2019


Hey Pavel,

inline

On 4/10/19 5:36 PM, Pavel Drankov wrote:
> Hello,
>
> I'm trying to implement a two-step registration process based keylock. On
> the first step enters the same information as in the default registration
> form, but with the addition of telephone number. On the second step, he
> enters a code received via an SMS message.
>
> The problem I faced is that if a user successfully filled the first step
> registration form and failed to enter a valid code on the second step, he
> is not able to use the same email address on the first step(because of "Email
> already exists." error). Is there a way to clean up not fully registered
> users and allow them to re-register if they have not finished all the step
> from the registration flow.

It doesn't sound right, I think the registration should be an atomic 
operation, so either both steps are successful and user is registered or 
the user is not registered.

To tell more I'd need to know more information how you've developed the 
described functionality.

Regards,

V.

>
> Best wishes,
> Pavel
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user


More information about the keycloak-user mailing list