Redirect to 2FA screen on login

Hi,

I want to redirect to Custom 2FA OTP screen or if jmix has any library to show 2FA OTP screen on successfull authentication.

Currently on successfully authentication it is redirected to showMainScreen method but i am trying to redirtect to OTP on successfull authentication. when otp is validated successfully it will redirected to showMainScreen method.

Hi,

LoginScreen is generated inside your application, so you are free to change it any way to redirect to your 2FA screen after credentials are checked.