strava-api-v3 icon indicating copy to clipboard operation
strava-api-v3 copied to clipboard

Implemented auth/refresh token exchange.

Open dblock opened this issue 7 years ago • 2 comments

Addresses https://github.com/jaredholdcroft/strava-api-v3/issues/38, heavily inspired by https://github.com/dblock/slack-strava/pull/50.

  • Added a generic oauth_token for future use and current use by token request and exchange
  • Failure in any of the OAuth methods will raise an exception, I believe this was a bug, now behaves more like all the other API methods
  • The retrieve_access call will now ask for the newer authorization_code grant type, older clients can specify nil if they want to buy time
  • Added refresh_access_token and documented that access tokens expire and need to be refreshed

dblock avatar Oct 28 '18 02:10 dblock

Bump @jaredholdcroft?

dblock avatar Nov 17 '18 22:11 dblock

I'm going to move forward with https://github.com/dblock/strava-ruby-client, built from scratch with OAuth refresh token support and more.

dblock avatar Nov 23 '18 16:11 dblock