two-factor-auth-FastAPI icon indicating copy to clipboard operation
two-factor-auth-FastAPI copied to clipboard

Good approach, but...

Open rohanrkamath opened this issue 1 year ago • 2 comments

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.

rohanrkamath avatar Apr 13 '24 02:04 rohanrkamath

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.

jpvinod avatar Apr 13 '24 15:04 jpvinod

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

rohanrkamath avatar May 02 '24 15:05 rohanrkamath