Logout and automated authentication with MongoDb and Angular - Tutorial

Опубликовано: 18 Март 2026
на канале: Aneesh Mistry
410
13

This video completes our mongodb authentication functionality by creating logout functionality. We will also
explore the local storage capability of our browser that will allow us to persist our web token to enable
automatic authentication when a user leaves the web application.

Link to learn more about local storage:
https://developer.mozilla.org/en-US/d...

Join along with this tutorial with the source code below:
There you will find a before and after folder that contains the code at the stand and end of the video.
Link to source code: https://github.com/4neesh/YouTube-Cha...

🕒 Timestamps 🕒

00:00 - Introduction
00:47 - Logging Out
04:09 - Timed logout
06:28 - Automated authentication

Please like, subscribe and leave a comment to let me know what you think!

Visit my website for all my blogs and videos on software engineering: www.aneesh.co.uk

Icon made by FreePik from www.flaticon.com