mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-04 08:59:09 +00:00
FIX: add all scopes to facebook oauth
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user