Skip to content

Commit 9963728

Browse files
Mattias-bradfitz
authored andcommitted
endpoints: Add Strava endpoint
As per the Strava API auth docs: http://developers.strava.com/docs/authentication/ Change-Id: Ibf6fcca193a1b63bf86830b669849653774a9df9 GitHub-Last-Rev: 296e91e GitHub-Pull-Request: #473 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/289829 Reviewed-by: Brad Fitzpatrick <[email protected]> Trust: Brad Fitzpatrick <[email protected]> Trust: Heschi Kreinick <[email protected]>
1 parent 81ed05c commit 9963728

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

endpoints/endpoints.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,12 @@ var StackOverflow = oauth2.Endpoint{
167167
TokenURL: "https://stackoverflow.com/oauth/access_token",
168168
}
169169

170+
// Strava is the endpoint for Strava.
171+
var Strava = oauth2.Endpoint{
172+
AuthURL: "https://www.strava.com/oauth/authorize",
173+
TokenURL: "https://www.strava.com/oauth/token",
174+
}
175+
170176
// Twitch is the endpoint for Twitch.
171177
var Twitch = oauth2.Endpoint{
172178
AuthURL: "https://id.twitch.tv/oauth2/authorize",

0 commit comments

Comments
 (0)