Hello. I think I found an issue with 2FA Login flow when combined with Hydra Login Challenge and using JSON instead of form data media type.
When using similar setup, but sending form data instead of JSON, it works well since Kratos does 303 redirect with aal=aal2 parameter added.
More details here:
https://github.com/ory/kratos/discussions/3408