Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Dashboard session expires/logs out
-
I've got a dashboard that I'm displaying on a raspberry pi. I've created a user specifically for the dashboard, where I've set the session expiration to 1 year and I do the auto login by providing url parameters described in the help file. https://docs-v3.mango-os.com/using-auto-login
On the Pi I have script that runs to make sure a browser is open, if none is open, then it starts a browser in kiosk mode and supplies the url I want and the auto-login details.
However after a few days, the dashboard will logout. Then it's just sitting there at the Mango Login screen.
I figured I could run a script at midnight or something that closes the browser and reopens it again, seems like a band-aid fix though. How can I detect that I'm at the login screen and do something about it to log back in? Or.... not get kicked off from the session at all?