cyberjunky / home-assistant-garmin_connect

The Garmin Connect integration allows you to expose data from Garmin Connect to Home Assistant.
MIT License
238 stars 34 forks source link

Unexpected error #108

Closed sunjunyan closed 9 months ago

sunjunyan commented 11 months ago

when I input username and password, login, shown :Unexpected error. pls help me, the username and pw is correct.

rjbrown99 commented 11 months ago

+1 same issue, seems that Garmin now requires an email-based code in addition to username and password.

craigrouse commented 11 months ago

In the readme, it states that 2 factor authentication isn't yet supported, so if you've enabled it, you won't be able to use this integration. Unfortunately, there's no way to revert once you've enabled 2 factor authentication. The integration works fine if you haven't enabled 2fa.

rjbrown99 commented 11 months ago

Thanks, perhaps we can change the subject of this into a feature request for 2 factor auth for those of us that enabled it? It does send the 2 factor email upon registration in HA so the code is delivered.

cyberjunky commented 10 months ago

Will try to add this feature, needs a bit of a rewrite though

cyberjunky commented 9 months ago

Closed because added to parent ticket https://github.com/cyberjunky/home-assistant-garmin_connect/issues/117