Description
First of all, thank you for your work on this module. I've been integrating it into my project, and overall, all the methods are very well aligned with Laravel Fortify.
However, I’ve run into an issue when working with Two Factor Authentication (2FA). I understand the library doesn’t provide specific methods for handling 2FA, which is totally reasonable, but the problem lies in the login flow itself: after sending the login request, the module immediately fetches the user, even when the second factor hasn’t been verified yet.
This breaks the expected behavior in apps where 2FA is enabled, since the user is considered authenticated even though they haven’t completed the OTP verification step.
I believe it would be helpful to have an additional action or option to prevent or delay the user fetch after login in such cases. Since this is an authentication module, I think it would make sense to handle this flow properly — though I understand if it’s considered out of scope.
In the meantime, I’ll handle the 2FA flow manually, but I wanted to bring this to your attention.
Thanks again 🙏