Art-of-WiFi / UniFi-API-client

A PHP API client class to interact with Ubiquiti's UniFi Controller API
MIT License
1.09k stars 217 forks source link

Support log in through MFA #225

Closed twio142 closed 2 weeks ago

twio142 commented 2 weeks ago

Starting July 22nd, Multi-Factor Authentication will be mandated for all Ubiquiti Accounts.

source

Any information from Unifi about adding support for MFA over the API?

malle-pietje commented 2 weeks ago

@twio142 that is why this is listed in the README file among the requirements: “you must use accounts with local access permissions to access the UniFi Controller API through this class”

malle-pietje commented 2 weeks ago

An extensive explanation can be found here on our website: https://artofwifi.net/blog/important-update-for-all-unifi-api-users-switch-to-local-admin-accounts-before-july-2024