Authentication
Together, signing up, logging in and logging out make up an authentication system.
StartAuthentication
Lesson 1 of 1
- 1Many web apps let users sign up for a new account and log in and out of their accounts. Together, signing up, logging in and logging out make up an authentication system. Let’s create an authentic…
- 2Using the request/response cycle as a guide, here’s how authentication fits in: Turn one: 1. When a user visits the signup page, the browser makes an HTTP GET request for the URL /signup. 2…
- 3What did we just do? 1. We created a model named User. 2. In the model, we used the method has_secure_password. This method adds functionality to save passwords securely. 3. In order to save passw…
- 10Great work so far! We’ve built an authentication system that lets new users sign up for the site, and lets existing users log in and out. However, there’s one problem - even after you log out, you…
- 12Congratulations! You built an authentication system from scratch. What can we generalize so far? * An authentication system is made up of sign up, log in, log out functionality. * The password_dig…
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