hjdhjd / homebridge-unifi-protect

:video_camera: Complete HomeKit integration for all UniFi Protect device types with full support for most features including HomeKit Secure Video, and more. https://homebridge.io
Other
1.39k stars 84 forks source link

MFA Support #1057

Closed Blkcheech closed 3 months ago

Blkcheech commented 3 months ago

Describe the feature request

Unifi will soon require MFA and when it is enabled, the plugin fails to connect to Unifi Protect.

Describe the proposed solution

Prompt for MFA code to authenticate to Unifi after Uder id/PW is entered to log in.

Describe alternatives you have considered to the enhancement

There is no alternative. MFA must be supported.

hjdhjd commented 3 months ago

Please read the multitude of other closed issues on this topic. Correcting myself here: I've addressed this a multitude of times on Discord, but only a couple of times in issues here. 😄

Added for completeness:

As recommended in the HBUP documentation, create a local user account for HBUP/Homebridge. UI (NOT UniFi local) account MFA requirements, which begin in mid-2024, only impact Ubiquiti.com/UI.com accounts. https://community.ui.com/questions/Upcoming-Multi-Factor-Authentication-MFA-Requirement-for-All-UI-Accounts-in-July-2024/e0d06d3c-c0ae-4af6-aa67-53c159d486a8