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
In questa pagina del sito puoi guardare il video online Authentication in Node.js - #1 Intro della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Code Realm 18 dicembre 2019, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 23,322 volte e gli è piaciuto 551 spettatori. Buona visione!