node-red-contrib-alexa-remote-cakebaked icon indicating copy to clipboard operation
node-red-contrib-alexa-remote-cakebaked copied to clipboard

How to make an old cookie-file not valid any more?

Open zeldalegends opened this issue 2 years ago • 1 comments

Hi,

I have fetched a token and saved it in the cookie-file correctly in a past project. Now I have created another project with another Node-RED installation, and I would like to authorize ONLY this new Node-RED installation with the same Alexa Echo Dot. At the same time, I would like toget rid of the former Node-RED installation an prevent it to access Alexa Echo Dot for security. So, I fetched a new token and saved into a new cookie-file for the new Node-RED installation, but unfortunately the old one is still working in the previous project... I would like to avoid that the old Node-RED can access Alexa with the old cookie file.

How can I do?

Thanks

zeldalegends avatar Apr 26 '22 18:04 zeldalegends

I would think it would be as easy as deleting the cookie file and disabling any refresh routine so the next time it authorization is needed it will fail and not be able to get a refreshed cookie file. Just in case you might want to remove the login credentials from your regresh routing as well.

MonkeyBusiness1 avatar Apr 27 '22 10:04 MonkeyBusiness1