There seems to be a regression in 0.77.2, could be browser specific (Firefox (on linux and on android), but not sure) whereby everytime the page is reloaded, the front-end redirects back to the authentication page. This also happens every time the browser is reloaded.
It’s kind of very annoying.
There is no pop-up to “Save Login” and the .storage/auth file gets added with a new token every time, but those tokens are never ‘matched’ again apparently.
Tried deleting .storage/auth - onboarding etc, triggered re-onboarding but that didn’t fix the problem. Even starting Firefox in private mode (i.e. no cookies or other data) runs into this problem.
Any hint on how to work around this would be great.
Note there was a thread for the opposite problem (Saved Login prompted all the time) - here - that happened on 0.77.1 but it got fixed in 0.77.2. Maybe that fix is related to this issue
I just posted this in the 0.77 thread, I have this exact behaviour. Android FF/Chrome apps save password fine and never reprompt. My FF browser on my PC, I can’t even refresh the page without being re-promoted. ‘Trusted Network’ or user/pass both do the same thing.
This workaround worked for me on android firefox, it is based on the discussion in github for desktop firefox: in the browser go to Settings > Clear Private Data > and check only ‘Offline Website Data’ (to minimize the damage).
After that reload the page, you will land in the login page, but this time the ‘Save Login’ pop up should show up, accept it.
After this page reloads no longer trigger reauth.
I am guessing this WA will need to be reapplied every time HA is updated, and perhaps restarted, but at least it makes the frontend more usable in the interim
I still have to try the equivalent WA on my desktop FF (the one using Developer tools)
p.s. no joy yet with Desktop Firefox. Clearing offline data, using a new container, incognito mode etc. To test: disable all addons and see what happens
I’m having this issue on 0.78.2 … it might be caused by my browser settings but I would be ok with disabling this feature to avoid having to close it every time I login…
I had the same issues with Chrome on Android with Home Assistant 0.82.1. Solution was to remove all files and cookies related to my domain in Chrome. It took me some time to figure out how, so I’ll explain it here.
Visit your Home Assistant web page.
Click the “Secured icon” in the location bar.
Site settings
Clear & reset
After this I entered my login using the new Auth system and it started to work permanently.