gin framework writes web app, to authenticate users with jwt, how to log out? The
login logic is to compare the username and password, generate jwt, if correct, and then save the client to localstorage.
question:
what should be the logic for logging in ?