You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.
This is something I intend to work on. My main priority for the moment is expanding device support and adding P2P functionality to better control said devices. How I've bypassed the need for MFA is create a seperate account for my integration which doesn't have MFA enabled.
I'm leaving this issue open as it is still valid.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
If a user has 2FA enabled on their Eufy account, the login process fails due to not finishing the authentication flow
To Reproduce
Steps to reproduce the behavior:
"msg": "need validate code",
Expected behavior
I expect the login process to detect the need for a validation code and to execute the additional steps needed (detailed below)
Additional context
By inspecting the traffic sent by my browser, I was able to work out that the flow can be completed as follows in Postman:
"msg": "need validate code"
and"data": { "auth_token": "12baeasd..." }
like so:X-Auth-Token: <the auth token value from the response above>
with the bodyX-Auth-Token: <the auth token value from the response above>
with the body"msg": "ok"
I am not sure how to work this flow into this repo's code but doing so would make it work with 2FA enabled accounts.
The text was updated successfully, but these errors were encountered: