Keycloak Authentication Provider implementation to get a 2nd-factor authentication with a OTP/code/token send via SMS (through AWS SNS).
Demo purposes only!
Unfortunately, I don't have a real readme yet. Blame on me!
But, for now, you can at least read my blog post about this autenticator here:
https://www.n-k.de/2020/12/keycloak-2fa-sms-authentication.html
Or, just watch my video about this 2FA SMS SPI:
- Run the following command to build the docker image docker build -t keycloak:v1 .
- Next, I'll run the container mounting my host current directoy to /tmp on the container docker run -v $(pwd):/tmp -d my-java-app:latest sleep infinity
- Attach to the container docker exec -it [container ID ] bash
- Now, you're inside the container cp /app/*.jar /tmp ## now you copied the jar files to /tmp which is also mounted to the host
- exit from the container and now you have the jar files in your current directory on the host.