Node Authentication
Add sign-up, login, sessions and JWT auth to a Node API, with a mentor reviewing your security choices.
What you'll learn
- Hash and verify passwords with bcrypt
- Implement cookie sessions and JWT access tokens
- Protect routes with middleware and roles
- Build email-based password reset
- Explain the tradeoffs between sessions and tokens
About this course
You implement authentication twice, first with sessions and then with JWTs, so you can compare them. You hash passwords, protect routes and handle password resets. Your mentor reviews each milestone with a focus on security mistakes.
Course curriculum
5 modules and 15 lessons over 6 weeks. Plan for about 24 learning hours.
01PasswordsWeek 1 · 3 lessons
- Hashing with bcrypt
- Sign-up and login routes
- Rate limiting login
02SessionsWeek 2 · 3 lessons
- Cookie sessions
- Session stores
- CSRF protection
03TokensWeek 3 · 3 lessons
- JWT structure
- Access and refresh tokens
- Token storage on the client
04AuthorizationWeek 4 · 3 lessons
- Protected routes
- Roles and permissions
- Testing auth flows
05Auth projectWeeks 5–6 · 3 lessons
- Password reset by email
- Mentor security review
- Final fixes
Project
Authenticated API. An Express API with sign-up, login, roles and password reset, reviewed by your mentor for security issues.
Who this course is for
Node developers who need to add user accounts to an app.
Prerequisites
You can build an Express API with routes and middleware.
What's included
- 6-month course access
- Project repository
- Coding labs
- Two mentor reviews
- Office-hours access
- Implementation checklists
- A digital completion certificate
Learning format
Mentor-supported online program, part of our mentor-supported programs. Two mentor reviews and office hours.
Access and delivery
- Enrollment confirmation is provided within 1 business day.
- Mentor reviews are returned within 2 business days of submission.
- Office-hours access begins during the first program week, and final completion materials are issued within 2 business days.
Certificate
You receive a digital completion certificate. Office-hours access begins during the first program week, and final completion materials are issued within 2 business days.
Frequently asked questions
When does access start?
Enrollment confirmation is provided within 1 business day.
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 mentor-supported programs.