The best way to to this is by enabling the new universal login you may use the new MFA screen which supports this use case.
If you prefer to use the Classic Universal Login experience, you can use it along with the New Universal MFA screen. To enable this, you will simply need to enable the New Universal Login and turn on the customization option for the Login screen.
Finally, this could also be achieved by fully using our Classic Universal Login experience starting from the 1.7.0 version of the MFA widget. Make sure that you are using this or a newer version, if you have customized the MFA login widget.