Hello. I think I found an issue with 2FA Login flo...
# talk-kratos
b
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
l
🤔 That scenario may have been overlooked during this fix: https://github.com/ory/kratos/pull/3271 The
AcceptLoginRequest
should probably come after the
requiresAAL2
.
b
Yes, I think so - the login challenge gets accepted before checking if AAL2 is required
There is something similar ongoing but related to registration flow instead of login and verification instead of AAL2: https://github.com/ory/kratos/pull/3412/files