learn hapi — How to Implement a Complete Login Flow

It’s always good to know how to implement the boilerplate parts of a web application. Within the previous tutorial of this “learn hapi” learning path, you’ve implemented the sign up flow to onboard users.

Add the second part that belongs to user onboarding: the login flow. The current setup of your Futureflix instance allows users to sign up. Once the sign up completes, there’s no indicator that a user has an account or a valid login session.

You’ll add this missing piece by following this complete tutorial on how to implement a login flow. On top of that, you’ll remember the user with a cookie-based session.

hapi Series Overview

Continue reading

University Enrollment Required

Future Students benefit from value packed videos and tutorials.

Enroll to receive exclusive content or sign in if you’re already a Future Student.

Enroll me for $15/mo

Explore the Library

Find interesting tutorials and solutions for your problems.