Hello Keycloak Users,
I recently implemented support for backup codes as a custom Keycloak extension.
A description about how it works can be found on the keycloak-dev mailing list [1]
The example implementation with some gifs that show the extension in action can be found in [2].
I’d love to hear your feedback on this 
Cheers,
Thomas
[1] Keycloak Dev Discussion https://groups.google.com/g/keycloak-dev/c/SC1JvewgLwM
[2] Backup Codes Implementation keycloak-extension-playground/auth-backup-codes at master · thomasdarimont/keycloak-extension-playground · GitHub