The problem is likely one of the following:
- The Razer desktop app does terrible with flaky internet and when a connection to WiFi exists, but the Internet connection is not actually there then the app rolls over like a fish.
- The Razer desktop app has a ridiculously low timeout allowance for a network connection to re validate the login token is still valid for previous login and when the login service is not reachable the token is invalidated and the login must be redone. Connections with lots of jitter an latency may suffer from this.
- Someone thought it was a good idea to log out every X days at random for the sake of security. To that I say security is a fine balance between convenience and a sane level of perception of actual security through best practices in moderation.
- Login state is being saved to a temp directory and its getting purged because that's how temp directories roll.
I can't say for sure if the cause is really any of the above, but its really annoying to have to login for no good reason and for what... using a mouse.
Razer Corp, please ask your developers to test using degraded network connection with either real or simulated conditions. Get a connection with StarLink, get a connection with DSL, or buy dedicated hardware/appliance to assist in creating conditions with bad networking wrecking havoc on your apps during testing. Too many apps are built with the assumption that the internet connection is always good and always fast!
Side note for comparison, when I purchased my computer and I logged into each and every login prompt on first startup of my CPU, GPU, Motherboard, Monitor, Monitor Bezel, Speaker, Power On LED, Keyboard, and each USB port individually which they all accepted login authentication the one time and never asked for it again. If any of that sounds ridiculous to you then please note that everything I said above this paragraph has to deal with a mouse... hardware shouldn't require login to use or control via a driver, change it's settings, or remember its state between power cycles IMO. Config files work just fine.