endpoints: Add Strava endpoint

As per the Strava API auth docs: http://developers.strava.com/docs/authentication/
This commit is contained in:
Mattias Appelgren
2021-02-04 22:50:14 +01:00
parent 010130855d
commit 296e91e1f2

View File

@@ -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",