Skip to content

Commit 750b2a5

Browse files
committed
endpoints: add Deezer's endpoints
1 parent 95bec95 commit 750b2a5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

endpoints/endpoints.go

+8-2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ var Cern = oauth2.Endpoint{
3535
TokenURL: "https://oauth.web.cern.ch/OAuth/Token",
3636
}
3737

38+
// Deezer is the endpoint for Deezer.
39+
var Deezer = oauth2.Endpoint{
40+
AuthURL: "https://connect.deezer.com/oauth/auth.php",
41+
TokenURL: "https://connect.deezer.com/oauth/access_token.php?output=json",
42+
}
43+
3844
// Facebook is the endpoint for Facebook.
3945
var Facebook = oauth2.Endpoint{
4046
AuthURL: "https://www.facebook.com/v3.2/dialog/oauth",
@@ -68,8 +74,8 @@ var GitLab = oauth2.Endpoint{
6874

6975
// Google is the endpoint for Google.
7076
var Google = oauth2.Endpoint{
71-
AuthURL: "https://accounts.google.com/o/oauth2/auth",
72-
TokenURL: "https://oauth2.googleapis.com/token",
77+
AuthURL: "https://accounts.google.com/o/oauth2/auth",
78+
TokenURL: "https://oauth2.googleapis.com/token",
7379
DeviceAuthURL: "https://oauth2.googleapis.com/device/code",
7480
}
7581

0 commit comments

Comments
 (0)