Answer the question
In order to leave comments, you need to log in
How to properly exit the user through the API?
Good afternoon!
How to properly exit a user using passport?
It is clear that you need to clear cookies, but is it really supposed to end there?
After all, the database will store a token that can still be accessed
. The documentation only says how to get this token, but how to make it so that no one else can get it after the exit is not mentioned
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question