-
Notifications
You must be signed in to change notification settings - Fork 93
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
Login Garmin and 2FA #43
Comments
I think this issue would be resolved by switching to OAuth, see also #3. |
I'm also having this issue, in case someone figures out how to solve around the email/2FA code sent. EDIT: In case others are in the same position as me, I do not want to deactivate my 2FA set up, so every so often (every few days or so), I output a .fit file and just import it manually while I'm logged in. Works for me in the mean time. The command I use is: |
Garmin updated the firmware on my watch to support their EKG app. If you use that app it will force 2FA saying "Permanent two-step verification has been enabled." Even if you uninstall the EKG app, you won't be able to turn off 2FA. Right now I'm using manual workaround from @LsVzqz (Thanks!) however it's not ideal. |
Same issue here. @LsVzqz thanks for the suggestion. Using that manually for now. |
Oh man - mandatory 2FA seems a bit much! At least they are emailing the code, which means you can automate it. Just need to add another script that automatically logs in to your email server (using IMAP/POP3) and looks for the code. Is it possible to register your own 2FA generator? If so, then its even easier - the TOPT generators are really simple as well. The only time this becomes a real problem is if they start requiring their own proprietary to send you a push notification. You wouldn't be able to intercept that. |
Just seeing this thread. I, too, have been plagued by the "Permanent MFA" due to the ECG app. Any quick/easy workarounds for this? (I'm currently doing the manual export/import in garmin connect) |
Not that I've seen. This will require changes to code for sure. I've been manually downloading the .fit file and uploading to connect manually. |
Same. Was hoping there was a workaround since I would rather it be automated lol. I may try to fork the project and fix it (If I can). Haven't done much in the way of MFA before, but we'll see (If I can find the time lol) |
It looks like this project has Garmin MFA support figured out. |
Gonna take a look at that then! May take a while to understand how it works, but thanks for the lead! |
It's a bit clunky, but it works :) |
Garth migration solved this |
How do I use the garth migration? Is that a different project? |
It's already migrated. Upgrade to the latest version |
I see the update. When you get the auth token, it doesn't have an expiration ever? I'm asking because I am setting this up to use cron and would like to basically forget about it |
The expiration of the MFA token (part of the OAuth1 token) is one year. |
When I try to run the sync with 2FA on, I get the following error message. Is works flawlessly when I turn 2FA off. Is it possible to implement 2FA so I can run the sync with 2FA on?
The text was updated successfully, but these errors were encountered: