Skip to content
Justin Foell edited this page Sep 29, 2019 · 6 revisions

After upgrading from WP-Strava 1.x to WP-Strava 2.0 you'll need to do a few things to get it working again:

  1. Re-authorize your app. Because WP-Strava 1.x stores the "forever token" which will be unusable after Oct. 15th, 2019, you'll have to re-add your credentials. Re-add your Client ID and Secret and click "Save Changes". You'll be redirected to strava.com for app authorization. If you're authorizing multiple athletes, you must log out of Strava before authorizing each additional athlete.

  2. Multiple athlete support only: Update any shortcodes that use the athlete_token parameter. It has been replaced by client_id. You can probably search posts & pages for athlete_token. Anywhere you see it, it should be replaced with client_id=<your client id>

  3. Multiple athlete support only: Update any widgets to select the correct athlete. The 1.x widgets used the athlete token to specify which athlete to look for. The 2.x ones use the Client ID. Simply select the correct athlete after they've been re-authorized.

  4. If you need to, set up a cron job. See potential reasons why here: https://wordpress.org/plugins/wp-strava/#description

Clone this wiki locally