core: cant save login credentials

Home Assistant release with the issue: 0.77.2

Last working Home Assistant release (if known): 0.74.0

Operating environment (Hass.io/Docker/Windows/etc.): Pi3 Hassbian, firefox as webbrowser

Component/platform: core login

Description of problem:

After I upgraded from version 0.74.0 to 0.77.2 I get the new login page where you also have a username. It works fine for logging in, however each time i refresh the browser page (F5) it again redirects me to the login page and I have to enter my cridentials agian. I also need to re-enter my credentials after each time I closed the webbrowser and open it again. This happens on both my PC’s both accesing homeassistant through firefox as browser.

In the video on the release notes I see that they get a popup stating “Do you want to save this login?”. That is exactly what I need and I do want to save my loging, however I never got this popup. I tryed going back to version 0.77.0 in an attempt to get this popup, but I have not manged to get it. I am getting diffrent popups when I turn on/off components etc using homeassistant.

Is their a way to save my credentials?

Is it possible to get the check-box back on the loging page for saving credentials?

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):


Traceback (if applicable):


Additional information:

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 6
  • Comments: 17 (12 by maintainers)

Most upvoted comments

I just tested in Private Mode in FF and the “Save Login” popup was shown and works. I can refresh HA page without entering password again and again.

EDIT: Cleaning of LocalStorage helped. There were four items: lovelace, language, theme…

After cleaning and page refresh, I was able to Save login. And the content changed to this:

obrazek

@mkyral (or anyone that could solve this) would you mind posting a full sample of the storage element “hassTokens” (without your actual active token)? I thought I could try adding the token manually in firefox, extracting the token value from .storage/auth

update - somehow after several tries, I could get at least Chrome to prompt Save Login. I saved the chrome login and then copied the hassTokens storage item from chrome to Firefox (my desktop browser), and deleted the copy in Chrome. It did the trick, for now at least.