Accounts and Authentication
Add personalization and security to Flask apps with accounts and authentication.
Start Introduction to Accounts
Lesson 1 of 2
- 1Accounts are the end result of gathering data necessary to create a user for a website. They also allow you to keep logging in to use the application. Ever wonder what the process would be to cre…
- 2An important rule of application development is to never store sensitive user data as plain text. Plain text data is a security risk, as a data breach or hack would allow sensitive data to fall int…
- 3When creating a user account in an application, there are a variety of data that needs to be stored for each user, as well as associated methods. The best way to store this data for a Flask applica…
- 4Now that we’ve got a database setup, our dinner application is starting to take shape. We’re going to need to get some data from our friends in order to make their dinner party accounts. We could…
- 5We currently have a working form grabbing user data and signing them up to our application. Good work! Next, let’s allow users to login by using a Flask-Login object called LoginManager(). login_…
- 6Our users are now able to create accounts and log in. You may be curious, and ask yourself, “How can I make sure that they manipulate only their data and not someone else’s?” We solve this associ…
- 7As we round things up, it’s a good idea to make sure the user experience is thoughtful by implementing a way to notify the user when an RSVP succeeds or if they need to try again in case an error o…
What you'll create
Portfolio projects that showcase your new skills
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory