For 1-3, you can use Keycloak's registration interface, rather than implementing it yourself. In "Realm Settings"->"Login", you can turn on "User Registration", and Keycloak will activate the registration interface.
For 4, you can turn on the "Verify email" flag in the same admin page. There is no built-in functionality for verifying mobile number, but you could write a custom Registration form and Required Action to do that.
On Mon, Mar 1, 2021, at 9:43 AM, Dulanjan Wijesekara wrote:
> Hi,
>
> I'm very new to keycloak and i would love to clarify somethings for
> myself. My task is to figure out whether the following user
> registration is possible by using keycloak. We already have configured
> a realm including clients, resources and client policies and
> permissions.
>
> The Flow:
> 1. A User fills the registration form in the web sign up page.
> 2. User information will be saved in the web backend.
> 3. Web backend sends the registration information to the IDP user
> registration API.
> 4. Web gives a notification to the user to verify email address and
> mobile number.
> 5. IDP send the registration confirmation email to user
> 6. IDP verifies the email address.
> 7. IDP verifies the mobile number.
> 8. IDP redirects the user to the web login page.
> I'm seeking help in whether this is possible and if so how to go about
> on this.
>
> Thank you,
> Dulanjan
>
> --
> You received this message because you are subscribed to the Google
> Groups "Keycloak User" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
keycloak-use...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/keycloak-user/431dcdf8-8860-4099-8d60-4339279218fen%40googlegroups.com <
https://groups.google.com/d/msgid/keycloak-user/431dcdf8-8860-4099-8d60-4339279218fen%40googlegroups.com?utm_medium=email&utm_source=footer>.