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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access