Originally based on https://github.com/dasniko/keycloak-2fa-sms-authenticator and extended to include mobile number verification in required action.
mvn clean packageAfter, put the JAR file in /target into your Keycloak's /opt/keycloak/providers/ folder.