Posts by Gian • 3 points
1 post
-
0
votes1
answer509
viewsQ: How to validate a token?
I have an api in Passport, in my front end that is in React I created a private route, in this private route I called a function checkAuth, to know the user ta authenticated, but for now I made this…