petergardfjall / garminexport

Garmin Connect activity exporter and backup tool
Apache License 2.0
487 stars 83 forks source link

Support for 2FA #108

Open tymmej opened 7 months ago

tymmej commented 7 months ago

Using ECG requires 2FA on account which cannot be disabled.

Running backup failed immediately at start.

2023-11-17 17:38:56,769 [INFO] backing up formats: json_summary, json_details, gpx, tcx, fit
2023-11-17 17:38:56,943 [INFO] using 'curl_cffi' to create HTTP sessions that impersonate web browser 'chrome110' ...
2023-11-17 17:38:56,945 [INFO] authenticating user ...
2023-11-17 17:38:56,945 [INFO] passing login credentials ...
2023-11-17 17:38:58,532 [ERROR] failed with exception: auth failure: unable to extract serviceURL

Is it planned to add support for 2FA? Ideally with saving cookie to automate backup process?

petergardfjall commented 7 months ago

Is it planned to add support for 2FA? Ideally with saving cookie to automate backup process?

No such plans at this time, no.