Skip to content

Commit f1f3552

Browse files
authored
fix: allow Facebook authorization config to be merged (#9866)
1 parent 9cb4350 commit f1f3552

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/core/src/providers/facebook.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,12 @@ export default function Facebook<P extends FacebookProfile>(
8484
id: "facebook",
8585
name: "Facebook",
8686
type: "oauth",
87-
authorization: "https://www.facebook.com/v15.0/dialog/oauth?scope=email",
87+
authorization: {
88+
url: "https://www.facebook.com/v15.0/dialog/oauth",
89+
params: {
90+
scope: 'email',
91+
},
92+
},
8893
token: "https://graph.facebook.com/oauth/access_token",
8994
userinfo: {
9095
// https://developers.facebook.com/docs/graph-api/reference/user/#fields

0 commit comments

Comments
 (0)