Merge pull request #201 from dadosfera/fix/oauth-facebook

FIX: add all scopes to facebook oauth
This commit is contained in:
Gabriel Amorim
2023-01-31 16:08:15 -03:00
committed by GitHub
@@ -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);
}
}