Environment:
- Python 3.12.0 (macOS)
- garminconnect 0.2.36
- garth 0.5.19
Steps:
- Delete ~/.garminconnect
- Run script with fresh login:
from garminconnect import Garmin
from getpass import getpass
client = Garmin("email", getpass("Password: "))
client.login()
- Password accepted, MFA code accepted, but login fails on profile fetch with: AssertionError: OAuth1 token is required for OAuth2 refresh
example.py works once, but any subsequent fresh login (or script that forces new login) fails the same way.
This makes daily automated sync impossible with MFA-enabled accounts.
Is this a known limitation or is there a workaround / planned fix?
Thanks!