Many web applications allow users to create an account and login to access certain content or personalize their experience. In this course, Node.js: Authentication and Authorization, you’ll learn two different ways to add authentication and authorization to your Node.js and Express applications. First, you’ll explore session-based auth with the express-session library. Next, you'll learn how to use a third-party service, like Google OAuth2, to authenticate users. Finally, you'll learn how to connect that OAuth2 authentication with sessions and persist a logged-in user. When you’re finished with this course, you’ll have the skills and knowledge of authentication and authorization needed to start to build auth into your Node.js applications.
Overview
Many web applications allow users to create an account and login to access certain content or personalize their experience. In this course, Node.js: Authentication and Authorization, you’ll learn two different ways to add authentication and authorization to your Node.js and Express applications. First, you’ll explore session-based auth with the express-session library. Next, you'll learn how to use a third-party service, like Google OAuth2, to authenticate users. Finally, you'll learn how to connect that OAuth2 authentication with sessions and persist a logged-in user. When you’re finished with this course, you’ll have the skills and knowledge of authentication and authorization needed to start to build auth into your Node.js applications.
Syllabus
- Authentication and Authorization Conceptual Overview 1min
- Session-based Auth 16mins
- OAuth2-based Auth 11mins
Taught by
Jon Friskics