Practice: Auth

💡 This is your chance to put what you’ve learned into action.

Try solving these practice challenges to check that you understand the concepts.

Submission

To log your practice for credit:

Submit on Gradescope

  • Practice exercises will be graded for completion not correctness. You have to document that you did the work, but we won't be checking if you got it right.
  • You are encouraged to engage with all the exercises listed on the practice page.
  • You are expected to submit only the details requested on the Gradescope submission.

Tutorial: Passwords in PassportJS

Complete the PassportJS tutorial to implement a password authentication strategy:

Passport is a JS library to avoid doing auth flows from scratch (like we did on exercises before)

Passport Tutorial: JWT Authentication