hassio-addons / addon-unifi

UniFi Network Application - Home Assistant Community Add-ons
https://addons.community
MIT License
276 stars 137 forks source link

Unable to log in after 2FA enabled #516

Closed pauljrich1 closed 2 months ago

pauljrich1 commented 2 months ago

Problem/Motivation

I can no longer connect to my unifi devices through home assistant after enabling 2FA. I tried creating a local account, but it's still not working. I suspect it has to do with running the Unifi Controller through Docker on my NAS.

Expected behavior

I expected to be able to log in similar to how I used to log in before I enabled 2FA.

Actual behavior

I get the following error "Unknown error occurred"

Steps to reproduce

Run a unifi controller through a NAS with 2FA enabled, then try to connect it to Home Assistant.

Proposed changes

Not sure how to fix it.

sinclairpaul commented 2 months ago

Is this an issue with the addon or the integration?

I suspect it has to do with running the Unifi Controller through Docker on my NAS.

pauljrich1 commented 2 months ago

I think it's an issue with the integration.

sinclairpaul commented 2 months ago

As it appears you aren't running the addon (which this is the repo for), you would need to raise issues related to the integration with Home Assistant itself.