Delete access token service restart or stop


I facing a issue related to access token. Once user has logged in and then restart the service of node red, the user is still logged in on restart. So, how to delete access token every time on start so every time log in page should open on restart?

Rohit Khatri

Assuming you are using the default localfilesystem storage, then the session tokens are stored in ~/.node-red/.sessions.json

Deleting that file before starting Node-RED will wipe the active sessions.