User Authentication & Authorization in Express


Why Learn Authentication and Authorization with Express?

Having secure authentication and authorization practices is one of the most important things you can do to secure your web applications. As a developer, you need control over how users interact with your application, your data, and other users. In fact, Broken Authentication and Broken Access Control make up two of the OWASP Top 10’s most critical security risks to web applications.

Take-Away Skills

By completing this course, you will have learned about and implemented a variety of authentication and authorization techniques using Express and Node.js. You will learn the differences between authentication, authorization, and encryption and when you should use each. You will implement basic authentication using sessions and cookies as well as delve into more advanced methods with OAuth 2.0. After completing this course, you will know how to secure your Express applications using secure authentication and authorization techniques.

Codecademy courses have been taken by employees at

Google LogoFacebook LogoNASA LogoIBM LogoDropbox Logo
  1. 1
    Get an introduction to what you will learn about implementing user authentication and authorization in an Express application.
  2. 2
    Learn about three key concepts in Web Security: Authentication, Authorization, & Encryption.
  3. 3
    Learn how sessions can be implemented using cookies and localStorage.
  4. 4
    Learn about Hashing, Encryption, Encoding, and Obfuscation, how to implement usernames and passwords, and how to encrypt passwords.
  5. 5
    Learn how an application can use OAuth 2.0 for authentication and authorization.

What you'll create

Portfolio projects that showcase your new skills

Pro Logo

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory

Pro Logo
Madelyn from Pinterest
I know from first-hand experience that you can go in knowing zero, nothing, and just get a grasp on everything as you go and start building right away.
— Madelyn, Pinterest