Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 801 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 801 Bytes

Strava OAuth Example

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.

Usage

  1. Deploy
  2. Setup your Application with Strava on the My API Application page
  3. Set Heroku ENVs from values from your Strava API Application
  • ENV['STRAVA_CLIENT_ID']
  • ENV['STRAVA_SECRET']
  • ENV['STRAVA_REDIRECT_URI']
  1. Visit your app URL and authorize Strava and you should be redirected to view info about yourself
  2. Drink a 🍺