O'Reilly logo

Getting MEAN with Mongo, Express, Angular, and Node by Simon Holmes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Part 4. Managing authentication and user sessions

The ability to identify individual users is a key piece of functionality for most web applications. Visitors should be able to register their details so that they can log back in as returning users at a later date. When users are registered and logged in, the application should be able to make use of the data.

In chapter 11 we’ll look at how authentication works in the MEAN stack. The focus will be on managing this when you have all of the application code in the browser as an Angular SPA. Authentication touches every technology layer of the application; we’ll cover saving user data to the database, securing API endpoints, and managing a session in the browser.

By the end of part 4 we’ll have ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required