I basically need to implement a simple OTP mechanism, but the thing is I want to give the user an option to choose between two different OTP forms ie. SPIs
What I want to achieve is something like the next flow:
Forms -> Required
Username/Password form -> Required
2FA (Sub-flow) -> Required
OTP Type1 -> Alternative
OTP Type2 -> Alternative
What’s also important is that the user can switch from these two OTP Type[1,2] forms, back and forth, by ideally a button click. Is this possible with Keycloak?