Skip to content

Commit

Permalink
Add Deezer's endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonymq committed Feb 29, 2024
1 parent 95bec95 commit cf3d968
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions endpoints/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ var Cern = oauth2.Endpoint{
TokenURL: "https://oauth.web.cern.ch/OAuth/Token",
}

// Deezer is the endpoint for Deezer.
var Deezer = oauth2.Endpoint{
AuthURL: "https://connect.deezer.com/oauth/auth.php",
TokenURL: "https://connect.deezer.com/oauth/access_token.php?output=json",
}

// Facebook is the endpoint for Facebook.
var Facebook = oauth2.Endpoint{
AuthURL: "https://www.facebook.com/v3.2/dialog/oauth",
Expand Down Expand Up @@ -68,8 +74,8 @@ var GitLab = oauth2.Endpoint{

// Google is the endpoint for Google.
var Google = oauth2.Endpoint{
AuthURL: "https://accounts.google.com/o/oauth2/auth",
TokenURL: "https://oauth2.googleapis.com/token",
AuthURL: "https://accounts.google.com/o/oauth2/auth",
TokenURL: "https://oauth2.googleapis.com/token",
DeviceAuthURL: "https://oauth2.googleapis.com/device/code",
}

Expand Down

0 comments on commit cf3d968

Please sign in to comment.