Skip to content

Commit 314ee5b

Browse files
ghostdevvgopherbot
authored andcommitted
endpoints: add patreon endpoint
Adds the patreon endpoints from their documentation. https://docs.patreon.com/#oauth. I've tested these thoroughly whilst making a pr to pocketbase. pocketbase/pocketbase#3323. Change-Id: I023871a4340ee4ebcba9fd808d4a8f0c081fc10e GitHub-Last-Rev: 890ef05 GitHub-Pull-Request: #668 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/528640 Reviewed-by: Cherry Mui <[email protected]> Reviewed-by: Carlos Amedee <[email protected]> Reviewed-by: Jorropo <[email protected]> Auto-Submit: Jorropo <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent b9c813b commit 314ee5b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

endpoints/endpoints.go

+6
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,12 @@ var Odnoklassniki = oauth2.Endpoint{
146146
TokenURL: "https://api.odnoklassniki.ru/oauth/token.do",
147147
}
148148

149+
// Patreon is the endpoint for Patreon.
150+
var Patreon = oauth2.Endpoint{
151+
AuthURL: "https://www.patreon.com/oauth2/authorize",
152+
TokenURL: "https://www.patreon.com/api/oauth2/token",
153+
}
154+
149155
// PayPal is the endpoint for PayPal.
150156
var PayPal = oauth2.Endpoint{
151157
AuthURL: "https://www.paypal.com/webapps/auth/protocol/openidconnect/v1/authorize",

0 commit comments

Comments
 (0)