Creating the Authentication Table
Explore building authentication tables with password hashing using Flask ORM. Understand how to securely store user information, avoid storing plain passwords, and set up database tables for user verification and API access control.
We'll cover the following...
We'll cover the following...
Creating auth_orm.py
Implementing JWT in the database requires creating a new table that stores the usernames and enough information to verify the password, without actually storing the passwords since that’s an unnecessary security risk. The password hash is computed by applying the md5 function from the hashlib ...