Compare commits

...
2 Commits
Author SHA1 Message Date
Gabriel Amorim 9ea610a405 Merge pull request #201 from dadosfera/fix/oauth-facebook
FIX: add all scopes to facebook oauth
2023-01-31 16:08:15 -03:00
Gabriel Rosa cd97bcbac0 FIX: add all scopes to facebook oauth 2023-01-31 16:04:57 -03:00
@@ -44,7 +44,8 @@ export class FacebookStrategy extends PassportStrategy(Strategy) {
req, req,
'application', 'application',
); );
options.scope = 'ads_read ads_management'; options.scope =
'pages_show_list ads_read pages_read_engagement ads_management';
super.authenticate(req, options); super.authenticate(req, options);
} }
} }