Delete access token service restart or stop

#1

Hi,

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?

Regards,
Rohit Khatri

0 Likes

#2

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.

0 Likes