echoing-computer-87366
08/28/2021, 11:25 AM/auth
endpoint which basically makes a GET request to check if current logged in user session is valid or not. Sessions are stored in mongodb. Now for each private route user navigates to I am making call to /auth
endpoint to validate logged in user. Can this solution be improved any suggestions?clever-vr-95479
08/28/2021, 1:00 PMechoing-computer-87366
08/28/2021, 2:29 PMclever-vr-95479
08/28/2021, 3:14 PMechoing-computer-87366
08/28/2021, 5:07 PMclever-vr-95479
08/28/2021, 6:06 PM