Flask Authentication
Add sign-up, login and protected pages to a Flask app.
What you'll learn
- Hash passwords with Werkzeug
- Log users in with Flask-Login
- Protect views
- Build password reset with signed tokens
About this course
You build accounts for a Flask app with Flask-Login. You hash passwords, protect views, add password reset and review security basics.
Course curriculum
4 modules and 12 lessons over 4 weeks. Plan for about 12 learning hours.
01AccountsWeek 1 · 3 lessons
- User model
- Password hashing
- Sign-up
02SessionsWeek 2 · 3 lessons
- Flask-Login
- Login and logout
- Remember me
03ProtectionWeek 3 · 3 lessons
- login_required
- Roles
- CSRF with Flask-WTF
04ResetWeek 4 · 3 lessons
- Signed tokens
- Reset email
- Final project
Project
Flask accounts. A Flask app with sign-up, login, protected pages and password reset.
Who this course is for
Flask developers who need user accounts.
Prerequisites
You build Flask apps with a database.
What's included
- 180-day course access
- Project brief
- Starter repository
- Coding labs
- Reference solutions
- One written project review
- A digital completion certificate
Learning format
Project-based online course, part of our guided project courses. One written project review.
Access and delivery
- Course access is delivered within 15 minutes after payment.
- Written project review is returned within 2 business days of submission.
- Completion materials are issued within 2 business days after the project is approved.
Certificate
You receive a digital completion certificate. Completion materials are issued within 2 business days after the project is approved.
Frequently asked questions
When does access start?
Course access is delivered within 15 minutes after payment.
Is payment taken on this website?
No. After you submit your enrollment request, we reply by email with payment details and enrollment confirmation.
Does this course guarantee a job or income?
No. It is an education and training service and does not include employment, income or placement guarantees.
Can I cancel?
Our Refund and Cancellation Policy lists the terms for project-based programs.