Authentication with Mongo DB Part 5
27th Jan 2023 by Aneesh Mistry
Auto-authentication
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/docs/Web/API/Window/localStorage
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-Channel/tree/main/mongodb-auth-5