piekstra / tplink-cloud-api

A Python library to remotely control TP-Link smart home devices using their cloud service - no need to be on the same network as your devices
GNU General Public License v3.0
41 stars 11 forks source link

Unable to Login after enabling 2FA #69

Closed DkGnjCfEcA closed 2 years ago

DkGnjCfEcA commented 2 years ago

TP Link introduced 2FA authentication with latest app update, and unfortunately the app is broken to turn-off the 2FA. Is there a way to add to login using 2FA?

webbpage commented 2 years ago

I'm having the same issue.

piekstra commented 2 years ago

That's unfortunate. I will need to investigate to see what can be done to programmatically handle 2FA. It's possible they've effectively bricked any programmatic access of their API.

webbpage commented 2 years ago

The API seems to be working as normal as long as 2FA is not enabled.

DkGnjCfEcA commented 2 years ago

That's unfortunate. I will need to investigate to see what can be done to programmatically handle 2FA. It's possible they've effectively bricked any programmatic access of their API.

thanks, is there a API documentation link, I can probably poke around and see if they have updated their api documentation on how to handle it.

piekstra commented 2 years ago

thanks, is there is a API documentation link, I can probably poke around and see if they have updated their api documentation on how to handle it.

Sadly the API is not public so as far as I'm aware, no external documentation is available at this time.

DkGnjCfEcA commented 2 years ago

App got updated to turn off the 2FA, so at least I can continue using these APIs.