Welcome back to the channel! In this series, we're going to build a secure authentication system in Node.js featuring email confirmation, password reset, remember me, and more. We'll use Express for routing, MongoDB for data persistence, and Redis for session storage. I'll also be using TypeScript for type-checking and auto-complete, although it's entirely optional, and you can safely follow this tutorial with vanilla JavaScript instead.
Most of us take authentication features for granted, as they're often baked into the framework and offloaded to library maintainers. For example, PHP has Laravel, Python has Django and Flask, Ruby has Rails, and so forth. Sadly, although Node comes in many flavors of micro-frameworks, only a few (Adonis, Feathers) offer login facilities out of the box.
If you're called on to roll out your own login system, there are many security considerations from password storage to token generation that are critical to get right in order to keep your customer data safe. With these videos, I will try to equip you with the tools and demonstrate best practices for building a custom authentication module with security and scalability in mind.
As a pre-requisite, I suggest that you familiarize yourself with authentication on the web • Authentication on the Web (Sessions, Cooki... and session management in Express • Session Authentication in Express
Why authentication is hard / your-node-js-authentication-tutorial-is-wrong
GitHub repo https://github.com/alex996/node-auth
Auf dieser Seite können Sie das Online-Video Authentication in Node.js - #1 Intro mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Code Realm 18 Dezember 2019 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 23,322 Mal angesehen und es wurde von 551 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!