home-assistant / android

:iphone: Home Assistant Companion for Android
https://companion.home-assistant.io/
Apache License 2.0
2.3k stars 636 forks source link

WearOS - Multi-factor Authentication #2055

Closed ch4d1 closed 2 years ago

ch4d1 commented 2 years ago

Is your feature request related to a problem? Please describe.

The WearOS companion app currently does not seem to have implemented multi-factor authentication. Logging in with an account that has this activated is therefore not possible. Describe the solution you'd like

Implementation of multi-factor authentication Describe alternatives you've considered, if any

Authentication via the smartphone app. Entering login information via the WearOS keyboard is a pain. Additional context

dshokouhi commented 2 years ago

You can actually login using your phone already and that works with MFA

codedesperate commented 2 years ago

@dshokouhi You can login on the Wear OS app using your phone? How does that work. I only have option to input username and password, and then it says afterwards it couldn't connect. (Because I have MFA)

dshokouhi commented 2 years ago

@dshokouhi You can login on the Wear OS app using your phone? How does that work. I only have option to input username and password, and then it says afterwards it couldn't connect. (Because I have MFA)

Open the phone app, go to App configuraiton or configuration > companion app. Then go to Wear OS Settings and once it finds your device login from there. MFA doesnt work directly from the watch yet but using the phone app we can perform MFA as the phone app has support for it so it can forward that to the watch

ch4d1 commented 2 years ago

@dshokouhi You can login on the Wear OS app using your phone? How does that work. I only have option to input username and password, and then it says afterwards it couldn't connect. (Because I have MFA)

Open the phone app, go to App configuraiton or configuration > companion app. Then go to Wear OS Settings and once it finds your device login from there. MFA doesnt work directly from the watch yet but using the phone app we can perform MFA as the phone app has support for it so it can forward that to the watch

It works but should be mentioned somehow when setting the app up.

dshokouhi commented 2 years ago

It works but should be mentioned somehow when setting the app up.

We shouldn't mention a workaround in the UI, we should actually fix the issue which is getting the MFA prompt on a wearable. Workarounds for issue trackers to help users get by until things are fixed.

ch4d1 commented 2 years ago

It works but should be mentioned somehow when setting the app up.

We shouldn't mention a workaround in the UI, we should actually fix the issue which is getting the MFA prompt on a wearable. Workarounds for issue trackers to help users get by until things are fixed.

Sure thing, but it would be best to offer the workaround as an official method, as the default WearOS keyboard is missing symbols. Also typing in longer passwords is still a pain.