Good approach, but...
Hey so I was going through some repos for this purpose, as I am too building one. But the issue is 2fa does involve writing the email and password again, along with the totp. This is were I am stuck too, I am trying to add a cookie with the email details and then using in a validation route. But yea, consider this. Not exactly an issue, but not a very good design choice.
Hey @rohanrkamath! Thanks for sharing your thoughts.if you've implemented a solution or have any code snippets to share, I'd love to take a look and discuss further. Feel free to open a pull request.
Sure thank you. I have been building a project management application, which is far from complete. But I have the authentication system completed. You can have a look - https://github.com/rohanrkamath/PTMS/tree/v4