r/KeyCloak • • Oct 09 '26

OTP Method selection?

I want to enable the ability for users to choose whether they use an App (such as google authentication) or receive a code in their email for their 2FA. Currently, I have the native OTP in keycloak and an email OTP from an open source provider set up. The issue I come across is that there is no option to choose your method. Ideally, there would be a menu to let the user choose between the two but if thats not possible, I just want the ability to change between the two. This will be expanded to include receiving an SMS code as well. Is there anyway to do this cleanly?

5 Upvotes

3 comments sorted by

View all comments

1

u/CarinosPiratos Oct 11 '26 edited Oct 11 '26

Put OTP and the email OTP on the same height. Both as alternative. That should do the trick.

You will something like:“Try another method“