-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TP-Link Omada integration broken after Implementing 2FA Authentication. #122309
Comments
Hey there @MarkGodwin, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) tplink_omada documentation |
For now, you can't enable 2FA if you want to use the HA integration. The whole point of 2FA is that you prove your credentials via a second method. HA can't check your phone messages for you to complete the login. There is a newer Omada API which supports OAuth client secret credentials. While this could potentially be used, but this is quite limited and will require a lot of work to get close to feature parity with the v2 API we currently use. We'll probably be forced onto the new API eventually, but there is no short-term fix possible for 2FA support. |
Thank you Mark. I had initiated 2FA based on messages from TP-Link that
shortly 2FA was going to be required on all accounts. Appreciate your
response.
…On Mon, Jul 22, 2024 at 4:34 AM MarkGodwin ***@***.***> wrote:
For now, you can't enable 2FA if you want to use the HA integration. The
whole point of 2FA is that you prove your credentials via a second method.
HA can't check your phone messages for you to complete the login.
There is a newer Omada API which supports OAuth client secret credentials.
While this could potentially be used, but this is quite limited and will
require a lot of work to get close to feature parity with the v2 API we
currently use. We'll probably be forced onto the new API eventually, but
there is no short-term fix possible for 2FA support.
—
Reply to this email directly, view it on GitHub
<#122309 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2T4HZSYXL7HJ4NUAYPCIWTZNS7ZLAVCNFSM6AAAAABLG3JCM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBSGM4TIMBZGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Yeah, I think you only need 2FA for cloud login? Can you use a local account for local access to the controller? The new Omada Open API is apparently being removed from the OC200 controller in the next update, so this won't be an appropriate alternative to switch to either. The only solution is to not use a cloud account to log in to the controller. I have Cloud access disabled on my controller. |
Thank you. I tried both local and cloud options without success. I disabled
the 2FA and tried logging in again without success. I then remived and
reinstalled the integration, login worked perfectly. I will just ride it
out like this as long as I can. Appreciate your feedback and follow-up.
…On Sun, Aug 4, 2024 at 11:09 AM MarkGodwin ***@***.***> wrote:
Yeah, I think you only need 2FA for cloud login? Can you use a local
account for local access to the controller?
The new Omada Open API is apparently being removed from the OC200
controller in the next update, so this won't be an appropriate alternative
to switch to either. The only solution is to not use a cloud account to log
in to the controller. I have Cloud access disabled on my controller.
—
Reply to this email directly, view it on GitHub
<#122309 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2T4HZUJOBT4WKI6POXMUS3ZPY72XAVCNFSM6AAAAABLG3JCM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGU3TKNRSHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
It seems that nowadays (since the last firmware update of my OC200) 2FA is also required for local logins and that is quite anoying. |
+1 perhaps an option to use a service account with granular permissions for the integration. and to secure the service account, its permissions can only be edited by an account that has 2FA enabled. |
The problem
Implemented the required Omada 2FA Authentication using MS Authenticator. Integration error states Two-factor authentication required for local user (-30165). I have functional local and cloud control, both ask for a @fa code. Realize the HA integration won't work with cloud control. Was previously working before transition. Appreciate any help you can provide.
What version of Home Assistant Core has the issue?
2024.7.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
TP-Link Omada
Link to integration documentation on our website
No response
Diagnostics information
home-assistant_tplink_omada_2024-07-21T13-06-48.100Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: