Skills Expanded

Add Authentication to a Flask CMS

What you'll learn

Python & Flask are great for building a simple web application. In this project you’ll add authentication to the admin dashboard of an existing content management system. You will also handle and validate form data.

Table of contents

  • Set up your local environment for projects. We'll walk you through everything you need to know, including how to install and configure your environment to be able to complete all of the tasks.
  • In this module we will add a new column to the database. We will create a login HTML form and validate the form data in a new login route. The currently logged in user will be stored in a Flask session. The session will be cleared when the user logs out.

About the author

Tom is a staff author at Pluralsight helping to develop Hands-On content. Tom's background in software development, UI/UX, and instructional design was developed over the years while working as a faculty member at the School of Computing at Weber State University in Utah, and continues to grow as he develops Projects and Labs for Pluralsight. When he's not creating content to allow learners to gain real-life experience, he enjoys spending time with his family.

Ready to upskill? Get started