Back to Browse

Session-Based Authentication Tutorial

191 views
Aug 6, 2025
18:46

This video is a tutorial on building a simple authentication system using the Session Based Authentication and Express. #programming #nodejs #express #auth #javascript #编程 Video editing: Da Vinci Resolve Video recorder: @https://obsproject.com Song: Julius Dreisig & Zeus X Crona - Invisible [NCS Release] Music provided by NoCopyrightSounds Free Download/Stream: http://ncs.io/Invisible Watch: http://youtu.be/QglaLzo_aPk Resources https://express.org https://code.visualstudio.com/ --Vscode https://nodejs.org https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Authentication https://www.w3schools.com/nodejs https://www.w3schools.in/express-js/session-management Thumbnail https://www.canva.com Timecards 00:00 - Intro 00:09 - What is Session-Based Authentication 00:26 - Project requirements 00:50 - Setting up the Project 02:56 - Creating an express Server 05:11 - Testing the endpoint using Rest Client 06:30 - Creating Middleware Session for Authentication 09:47 - Creating a login route to save data in the Session 14:57 - Renaming the cookie 15:21 - Accessing a restricted endpoint using session data 16:11 - Customizing the response 16:25 - Destroying the session to logout 17:30 - Conclusion

Download

0 formats

No download links available.

Session-Based Authentication Tutorial | NatokHD