Authentication Lab

Objective: Continue implementing your simple login app from this morning's module.

Workflow & Submission

  1. Create a new GitHub repo for your simple login app.
  2. Work through the challenges from the morning module to implement your simple login app.
  3. Submit the link to your GitHub repo in the homework submission form.

Stretch Challenges / Bonus

  1. If you finish all the challenges and stretch challenges for the simple login app, work on implementing authentication in your Project 0 Microblog app.
  2. Instead of making a user profile page in your Microblog app, redirect users to the root route (/) after they log in.
  3. Super Bonus: When a new user signs up, it would be nice if they didn't have to immediately log in. How could you solve this? Hint: You defined the req.login middleware which is available to use in any server request.

Docs & Resources