So, for a project of mine, I thought of using Laravel Jetstream but before using it I started going through its documentation. Where I found browser sessions and two-factor authentication which I didn't understand.
Please help me in understanding how Jetstream is working with sessions and two-factor authentication.
Best way to understand it is to install it and have a play around with it.
Sessions are only different in that they default to using the database for storage (optional)
Two Factor Authentication is built for you, you can just choose to enable it as a feature or not. You can test how it works but you don't necessarily need to understand how it is checking the code.
I want to know how the device in which the user Logs In is recognized in sessions?
Where in Two-Factor Authentication the QR code is generated?
Why in Two-Factor Authentication tokens are generated? Why not like others it is like after login they will provide an OTP to the registered email or phone?