qs_ledger icon indicating copy to clipboard operation
qs_ledger copied to clipboard

strava - authorization flow change

Open michalszczecinski opened this issue 5 years ago • 4 comments

hi Mark, thanks for sharing strava data downloader code. All works smoothly until when I try to pull activities. I believe they have changed the API settings and now that newly generated general token is not able to access activities (is just of scope read, whereas read_all scope is required). You can read more about this here:

https://developers.strava.com/docs/oauth-updates/

and here is stack overflow post with details of potential solution: https://stackoverflow.com/questions/52880434/problem-with-access-token-in-strava-api-v3-get-all-athlete-activities

Also stravalib seems to include some code that should help with this: https://github.com/hozn/stravalib#authentication

Thanks!

michalszczecinski avatar Mar 31 '19 08:03 michalszczecinski

Thanks @michalszczecinski. The code example looks helpful, though it seems like we should try and come up with a standard and generic Oauth flow for any of the data points that require this.

markwk avatar Apr 10 '19 14:04 markwk

also came across this: https://github.com/sladkovm/stravaio

michalszczecinski avatar May 21 '20 03:05 michalszczecinski

Maybe this can be a solution? https://github.com/markwk/qs_ledger/pull/15

kriszieba avatar Aug 26 '20 15:08 kriszieba

Hi @kriszieba your code is a nice addition but not entirely sure that your documentation makes it clear on the steps required to use it. I'd also like to see a tighter integration or closer step-by-step walkthrough on using it too. Thanks!

markwk avatar Feb 12 '21 20:02 markwk