-
-
Notifications
You must be signed in to change notification settings - Fork 383
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
[Feature] Save long lived Garmin Api token for users #585
Comments
Reference for how to refresh auth token. Apparently, we do not use the Refresh Token, instead save the OAuth1Token (which lasts up to a year) and use that to re-exchange for OAuth2 whenever needed. |
Feature todo:
Testing todo:
|
Look at upgrading to latest Flurl library which adds first-class citizen support for saving cookie jars. |
Flurl is updated, but MFA flow now doesn't work. getting a 500 from Garmin on SendCredentials. Could be temporary issue. (garmin api is returning nre) |
@philosowaffle Did this get completed and checked into main? I don't see it working in 4.2.0, but maybe wasn't included in the tag for that release? |
It's in main and has been available under the |
Now that we're using Garth pattern for authentication (#524) it seems possible to save a long lived access token. This opens a few possibilities:
Explore these options and see what is feasible.
Requirements:
Out of Scope:
The text was updated successfully, but these errors were encountered: