This is a basic example of how to setup OAuth with Strava using the strava-ruby-client gem, a complete Ruby client for the Strava API v3.
- Setup your Application with Strava on the My API Application page
- Set Heroku ENVs from values from your Strava API Application
ENV['STRAVA_CLIENT_ID']
ENV['STRAVA_SECRET']
ENV['STRAVA_REDIRECT_URI']
- Visit your app URL and authorize Strava and you should be redirected to view info about yourself
- Drink a 🍺