FIX: add all scopes to facebook oauth

This commit is contained in:
Gabriel Rosa
2023-01-31 16:04:57 -03:00
parent 28efdf95d9
commit cd97bcbac0
@@ -44,7 +44,8 @@ export class FacebookStrategy extends PassportStrategy(Strategy) {
req,
'application',
);
options.scope = 'ads_read ads_management';
options.scope =
'pages_show_list ads_read pages_read_engagement ads_management';
super.authenticate(req, options);
}
}