This is in no way what a modern login system should be. It lacks tons of features such as 2-Factor Authentication
This was my very first time using Flask and this is my first experience in web development, so this code is FAR from perfect. I'm sure I overcomplicated most of it.
Please report vulnerabilities in the Issues page.
- Make sure you have the requirements installed.
- Run main.py and it will host the website at localhost on port 5000.
- It'll ask you for your SendGrip API key and Email
Don't worry about the database, it'll automatically set it up for you with SQLite.
- You should modify the email messages along with the urls sent in the emails to your domain, which can be done in auth.py
- Signing in/up
- Email verification
- Password resetting
I don't plan on adding these, but I may add them in the future
- 2-Factor Authentication
- Phone number verification
- me
- Ricardo Oliva Alonso, who made the beautiful login page I stole from their CodePen
- the authors of all the packages used