Authentication is a critical part of almost every web application. Today our users expect more than simple local authentication. They want support for third-party authentication, so they can use a single account to sign in to multiple websites. OAuth and OAuth 2.0 are protocols for doing just that.
In this course, Tuts+ instructor Jeremy McPeak will teach you how to incorporate OAuth 2.0 in your Node.js applications.
If you haven't used OAuth before, learn what OAuth is and why it is used in our Coffee Break Course: Understanding OAuth.
1.Introduction1 lesson, 00:27
1 lesson, 00:27
1.1Introduction00:27
1.1
Introduction
00:27
2.Getting Started2 lessons, 16:59
2 lessons, 16:59
2.1What You Need05:22
2.1
What You Need
05:22
2.2Passport Primer11:37
2.2
Passport Primer
11:37
3.Using OAuth6 lessons, 1:08:16
6 lessons, 1:08:16
3.1Implementing Local Authentication: Registration15:43
3.1
Implementing Local Authentication: Registration
15:43
3.2Implementing Local Authentication: Login07:51
3.2
Implementing Local Authentication: Login
07:51
3.3Adding Facebook Support16:54
3.3
Adding Facebook Support
16:54
3.4Building the Profile Page07:34
3.4
Building the Profile Page
07:34
3.5Connecting Accounts11:30
3.5
Connecting Accounts
11:30
3.6Disconnecting Accounts08:44
3.6
Disconnecting Accounts
08:44
4.Extending OAuth Support1 lesson, 12:35
1 lesson, 12:35
4.1Using the Generic OAuth 2.0 Strategy12:35
4.1
Using the Generic OAuth 2.0 Strategy
12:35
5.Conclusion1 lesson, 00:35
1 lesson, 00:35
5.1Conclusion00:35
5.1
Conclusion
00:35
I started my development career on the client-side writing JavaScript and DHTML components in my spare time. In 2005, Nicholas C. Zakas asked me to join him in writing the first edition of Professional Ajax for Wiley Publishing. Since Professional Ajax, 1st Edition, I've been blessed to take part in other book projects: Professional Ajax 2nd Edition, and Beginning JavaScript 3rd and 4th editions.