After registering an account on Logto and enabling 2FA, logging in using a third-party login with the same email does not redirect to the 2FA page after email verification.
Expected behavior
The frontend should redirect to the 2FA page after verifying the email during third-party login.
How to reproduce?
Register an account on Logto and enable 2FA.
Log out and try to log in using a third-party login (e.g., GitHub) with the same email.
Complete the email verification step.
Notice that the frontend does not redirect to the 2FA page.
There seems to be some issues in your reproduce flow:
After the Logto OSS deployment, the first registered user serves as Logto's Administrator. It seems that the only available login method for the Administrator is username + password.
In Step 2, you mentioned "sign in with third-party login with the 'same email'". However, "email" is not mentioned in either Steps 1 or 2.
If you use the "third-party login" you mentioned and can successfully get the returned email, then email verification is not needed in the sign-in flow.
Describe the bug
After registering an account on Logto and enabling 2FA, logging in using a third-party login with the same email does not redirect to the 2FA page after email verification.
Expected behavior
The frontend should redirect to the 2FA page after verifying the email during third-party login.
How to reproduce?
Context
Screenshots