Chapter 9. Authentication and sessions

This chapter covers

  • Introducing authentication
  • Challenging and determining the authenticity of a user’s claim to an identity
  • Using sessions to save authentication state between requests
  • Creating a way to route between application pages based on authenticated state

We’re now well into the implementation of an identity, authorization, personalization, and access control system designed to make the world a safe place for cat videos. A user can now set up and manage their identity. The Brushfire frontend is also personalized based on a user’s simulated authenticated status. In this chapter, you’ll create the authentication component and replace the simulated state with a user’s actual authenticated state. ...

Get Sails.js in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.