Skip to content

Commit d9d4120

Browse files
committed
fix: switch to endpoints.go
1 parent a0c2ff5 commit d9d4120

File tree

2 files changed

+8
-18
lines changed

2 files changed

+8
-18
lines changed

endpoints/endpoints.go

+8-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ var GitLab = oauth2.Endpoint{
6868

6969
// Google is the endpoint for Google.
7070
var Google = oauth2.Endpoint{
71-
AuthURL: "https://accounts.google.com/o/oauth2/auth",
72-
TokenURL: "https://oauth2.googleapis.com/token",
71+
AuthURL: "https://accounts.google.com/o/oauth2/auth",
72+
TokenURL: "https://oauth2.googleapis.com/token",
7373
DeviceAuthURL: "https://oauth2.googleapis.com/device/code",
7474
}
7575

@@ -217,6 +217,12 @@ var Zoom = oauth2.Endpoint{
217217
TokenURL: "https://zoom.us/oauth/token",
218218
}
219219

220+
// Patreon is the endpoint for Patreon.
221+
var Patreon = oauth2.Endpoint{
222+
AuthURL: "https://www.patreon.com/oauth2/authorize",
223+
TokenURL: "https://www.patreon.com/api/oauth2/token",
224+
}
225+
220226
// AzureAD returns a new oauth2.Endpoint for the given tenant at Azure Active Directory.
221227
// If tenant is empty, it uses the tenant called `common`.
222228
//

patreon/patreon.go

-16
This file was deleted.

0 commit comments

Comments
 (0)