frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Login page throws "TypeError: this is undefined"

Open hupratt opened this issue 1 year ago • 3 comments

Checklist

  • [x] I have updated to the latest available Home Assistant version.
  • [x] I have cleared the cache of my browser.
  • [x] I have tried a different browser to see if it is related to my browser.
  • [x] I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

Hi everyone,

I've set up your component with authentik running behind nginx. I followed the instructions here, went to https://ha-fqdn/auth/oidc/welcome and managed to login without any issues.

The problem is that when I visit the https://ha-fqdn/ page without being logged in or simply click on the app on authentik, some kind of javascript error appears on the browser and I eventually get my IP banned. The error appears both on chromium and firefox.

Image Image

Is anyone else experiencing the same issue?

Home assistant: docker ghcr.io/home-assistant/home-assistant:latest (image id: bfdad8504077) Authentik: docker authentik ghcr.io/goauthentik/server (2024.12.3)

Error appears on the latest docker image as well:

REPOSITORY TAG IMAGE ID CREATED SIZE ghcr.io/home-assistant/home-assistant latest 517c58fc3a8a 17 hours ago 1.82GB

Describe the behavior you expected

N/A

Steps to reproduce the issue

1.Enable the plugin 2.Visit the login page 3. ...

What version of Home Assistant Core has the issue?

ghcr.io/home-assistant/home-assistant:latest

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue?

No response

Which operating system are you using to run this browser?

No response

State of relevant entities


Problem-relevant frontend configuration


Javascript errors shown in your browser console/inspector


Additional information

No response

hupratt avatar Mar 22 '25 14:03 hupratt

I don't think this is supported here as it appears to require HACS custom_components. You'll probably need to find support elsewhere.

karwosts avatar Mar 22 '25 14:03 karwosts

This error seems to be caused by the Bitwarden Browser Extension and not by Home Assistant See https://github.com/bitwarden/clients/issues/13308

rottifant avatar Mar 22 '25 21:03 rottifant

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jun 20 '25 23:06 github-actions[bot]