After looking at keycloak I could not find a way to do any SMS verification.
Do you guys have any extension or setup in order to allow user verification with SMS.
Thanks for your help.
Jonathan.
After looking at keycloak I could not find a way to do any SMS verification.
Do you guys have any extension or setup in order to allow user verification with SMS.
Thanks for your help.
Jonathan.
Here is the sample code from official github, now the keycloak version is 11+
https://github.com/keycloak/keycloak-quickstarts/tree/latest/action-token-authenticator
https://github.com/keycloak/keycloak/tree/master/examples/providers/authenticator
The best example I found was this one. He has a blog post and a 20 minute video to explain it. It was done December of 2020 and it built and ran right out of the box.
https://www.n-k.de/2020/12/keycloak-2fa-sms-authentication.html
code for the above blog post: https://github.com/dasniko/keycloak-2fa-sms-authenticator
there's even a video https://youtu.be/GQi19817fFk
I believe this needs to be a custom authentication SPI in Keycloak.
There are a couple of nice examples that seem to solve your problem. In case keycloak-sms-authenticator doesn't solve your purpose, then you can take a look at the source code and tweak it according to your need.