Often authentication involves verification of predefined credentials a user provides as an agreement for the web services provided on the platform. On the other hand Authorization in system security is the process of giving the user permission to access a specific resource or function. This term is often used interchangeably with access control or client privilege.
In this two-parts articles, we will take a look at how to capture user information using forms, store the credentials in a Mysql database, authenticate the user, use flask sessions and cookies to authorize access persistently to other parts of a web application and finally log users out of the application. This is part 2 of the two and much of the work will be focused on creating the scripts for authentication, authorization, and logging users out using sessions and web cookies.
#flask #python #tailwind css #web developemnt #authentication #tailwind css