From 296e91e1f25c75d26a23f0873df000678c4f43e3 Mon Sep 17 00:00:00 2001 From: Mattias Appelgren Date: Thu, 4 Feb 2021 22:50:14 +0100 Subject: [PATCH] endpoints: Add Strava endpoint As per the Strava API auth docs: http://developers.strava.com/docs/authentication/ --- endpoints/endpoints.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/endpoints/endpoints.go b/endpoints/endpoints.go index 811e101f9..6ce3943c3 100644 --- a/endpoints/endpoints.go +++ b/endpoints/endpoints.go @@ -167,6 +167,12 @@ var StackOverflow = oauth2.Endpoint{ TokenURL: "https://stackoverflow.com/oauth/access_token", } +// Strava is the endpoint for Strava. +var Strava = oauth2.Endpoint{ + AuthURL: "https://www.strava.com/oauth/authorize", + TokenURL: "https://www.strava.com/oauth/token", +} + // Twitch is the endpoint for Twitch. var Twitch = oauth2.Endpoint{ AuthURL: "https://id.twitch.tv/oauth2/authorize",