I'm creating an app with nuxtjs and I'm using the nuxt/auth module. Everything is working fine, I'm using the login with Local strategies with JWT Token. The problem that I'm having is that if I close my browser and re-open the browser and if the token has not expire I'm logged in automatically. How can I disable this? I would like it so that when the user closes the browser the token is no longer valid?
Is it because of the Local Storage?? I guess that Nuxt/Auth stores the token in the localstorage? I also see it creates a cookie with the token but the expiration of the cookie is set to "Session".
Any clarification/help on how to this work would be greatly appreciated.
Regards.
CES