Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keycloak Authentication with mobile number and otp

Tags:

keycloak

I'm implementing the Keycloak authentication with vertx. I would like to customize login flow, instead of username/password form I want to login via mobile number and OTP.
Any one can help me if they have created any custom required action provider in keycloak.

Thanks in advance.

like image 580
Swati N Avatar asked Mar 19 '19 04:03

Swati N


1 Answers

I think this would be doable in Keycloak now with Authenticator SPI. Please have a look on this code you will get to know you can revamp full login flow without much issue . Same can be rewrite for login from mobile number.

Please have a look this API keycloak-sms-authenticator,it will give much flexibility to do SMS based Authentication without writing much line of code.

Here is another good official documentation Custom User Attributes available how to use mobile number .

like image 131
Subodh Joshi Avatar answered Sep 19 '22 16:09

Subodh Joshi