mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-28 09:56:25 -05:00
docs: fix typo (#1517)
genericOAuth plugin uses ``scopes`` not ``scope``
This commit is contained in:
@@ -83,7 +83,7 @@ export const auth = betterAuth({
|
||||
clientSecret: process.env.SLACK_CLIENT_SECRET as string,
|
||||
authorizationUrl: "https://slack.com/oauth/v2/authorize",
|
||||
tokenUrl: "https://slack.com/api/oauth.v2.access",
|
||||
scope: ["users:read", "users:read.email"], // and more...
|
||||
scopes: ["users:read", "users:read.email"], // and more...
|
||||
},
|
||||
],
|
||||
}),
|
||||
@@ -115,7 +115,7 @@ export const auth = betterAuth({
|
||||
clientSecret: process.env.INSTAGRAM_CLIENT_SECRET as string,
|
||||
authorizationUrl: "https://api.instagram.com/oauth/authorize",
|
||||
tokenUrl: "https://api.instagram.com/oauth/access_token",
|
||||
scope: ["user_profile", "user_media"],
|
||||
scopes: ["user_profile", "user_media"],
|
||||
},
|
||||
],
|
||||
}),
|
||||
@@ -147,7 +147,7 @@ export const auth = betterAuth({
|
||||
clientSecret: process.env.COINBASE_CLIENT_SECRET as string,
|
||||
authorizationUrl: "https://www.coinbase.com/oauth/authorize",
|
||||
tokenUrl: "https://api.coinbase.com/oauth/token",
|
||||
scope: ["wallet:user:read"], // and more...
|
||||
scopes: ["wallet:user:read"], // and more...
|
||||
},
|
||||
],
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user