node-red-contrib-alexa-remote2
node-red-contrib-alexa-remote2 copied to clipboard
Auth last only until change/boot
Hello,
I have the problem that I have to authenticate after every change. The authentication do not last some days. If I reboot or deploy I have to authenticate. Is this a feature or a bug?
Regards
RoberTo
Make sure you’ve entered a file path. The created file persists your auth token.
I am having the same issues. Have you found a solution for this? This is the same issue as #159
Solved by setting file path to 'auth'
Make sure you’ve entered a file path. The created file persists your auth token.
Same issue. I set the path but it will not work.
Make sure you’ve entered a file path. The created file persists your auth token.
Same issue. I set the path but it will not work.
The latest suggestion from https://github.com/586837r/node-red-contrib-alexa-remote2/issues/159 maybe works for you?
Solved by setting file path to 'auth'
I'm using RodeRed in a docker container with one volume mapped to /data - I have '/data' in the account node file path but still the cookie does not persist. Have I got the path correct?
Edit, now fixed. I'm running NR in a docker container so needed to add an empty cookie.txt file to the /data volume, and added /data/cookie.txt to the account setup node. You do need the file name as well as the path for it to work.
Works now.
My fault. It were the rights on the file that were wrong. I checked the folder but forget to check the right for the created file.
THX to all for helping.
Kindly Regards RoberTo
For me, confirmed using Docker-compose with volumes mapped - ./volumes/nodered/data:/data The path needs to be set or presumably it cannot decide where to put it. My file and path entered on node as /data/amazonauthfile
After successful authorisation the specified file can be seen in assigned path. It should not need to be created, node should do that.
This is the solution for nodered running under Home Assistant :
my path on the server is this: /usr/share/hassio/homeassistant/node-red
but in the config you need this: /config/node-red/amazon.txt
credit: https://community.home-assistant.io/t/alexa-remote2-authentication-file-path/267344/2?
You’d need to change the path based on whatever system you’re using.
This now survives a full system reboot without needing to sign in again.