tplink-cloud-api icon indicating copy to clipboard operation
tplink-cloud-api copied to clipboard

Deprecated authentication method

Open naphtul opened this issue 2 years ago • 2 comments

When following the instructions on how to connect and discover devices, I am getting an email with the following message:

Hello, We noticed a login attempt from an older version of the Kasa app on an unrecognized device. Since 2-Step Verification is enabled, you have to update the Kasa app to the latest version to sign in with a verification code. If you are not the one who logged in, someone may be trying to access your account. The password can be changed to protect the account.

naphtul avatar Jun 23 '23 21:06 naphtul

I will try and do some local runs this weekend to try and reproduce. I'm wondering if it's something with the request headers.

piekstra avatar Jun 24 '23 00:06 piekstra

Ran into the same issue. During login, the API returns the following:

{
  "error_code": -23003,
  "msg": "App version is too old"
}

This comment indicates that the API error is indicative of 2-Step Verification being enabled. I disabled 2-Step Verification for my account, and login worked without any errors.

I searched around, and I couldn't find any info on how to do 2-Step Verification programmatically.

wwlian avatar Nov 08 '23 07:11 wwlian