Closed pwithnall closed 4 years ago
Would you mind removing python 3.3 from the Travis config (it's not supported anymore)? It's not something you introduced, but fixing it would give this green checkboxes for the checks.
Would you mind removing python 3.3 from the Travis config (it's not supported anymore)? It's not something you introduced, but fixing it would give this green checkboxes for the checks.
Done. Also pushed a commit to refresh the access token.
@Tigge would you mind merging this? It's a much better fix that what I did on #182 and fixes #178
Sorry, this got left here without action from me. Merged now. Thank you!
Several changes combined into one: • Redirect back to the local server to complete the auth flow, rather than pointlessly redirecting via an AWS server • Convert the temporary token into a long-term token so that people don’t have to reauthenticate every time they want to upload an activity • Don’t use a fixed local port — allow the OS to allocate us one • Store the access and refresh tokens in the correct directory according to the XDG Base Directory specification (https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html)
I’ve registered a new application with Strava for doing the authentication, since the client secret is needed.
Signed-off-by: Philip Withnall philip@tecnocode.co.uk