Skip to content

Commit 1d11cb4

Browse files
committed
feat: add paypal support
1 parent d03d9f8 commit 1d11cb4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

provider.go

+15
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,27 @@ var Google = &Provider{
6060
Scope: "openid email profile",
6161
}
6262

63+
// Yahoo provider
6364
var Yahoo = &Provider{
6465
Name: "yahoo",
6566
URL: "https://login.yahoo.com",
6667
Scope: "openid openid2 email profile",
6768
}
6869

70+
// Paypal live provider
71+
var Paypal = &Provider{
72+
Name: "paypal",
73+
URL: "https://www.paypalobjects.com",
74+
Scope: "openid email profile",
75+
}
76+
77+
// PaypalSandbox provider
78+
var PaypalSandbox = &Provider{
79+
Name: "paypal",
80+
URL: "https://www.paypalobjects.com",
81+
Scope: "openid email profile",
82+
}
83+
6984
// WithCredential sets client id and secret for a Provider
7085
func (p *Provider) WithCredential(id, secret string) *Provider {
7186
if id == "" || secret == "" {

0 commit comments

Comments
 (0)