chore: updating facebook permissions
This commit is contained in:
parent
e586021171
commit
516cc9ee1e
3 changed files with 3 additions and 2 deletions
|
|
@ -22,7 +22,6 @@ class FacebookController extends SocialController
|
|||
|
||||
protected array $scopes = [
|
||||
'public_profile',
|
||||
'email',
|
||||
'pages_show_list',
|
||||
'pages_read_engagement',
|
||||
'pages_manage_posts',
|
||||
|
|
@ -59,7 +58,7 @@ public function connect(Request $request): Response|RedirectResponse
|
|||
|
||||
return Inertia::location(
|
||||
Socialite::driver($this->driver)
|
||||
->scopes($this->scopes)
|
||||
->setScopes($this->scopes)
|
||||
->redirect()
|
||||
->getTargetUrl()
|
||||
);
|
||||
|
|
|
|||
1
lang/php_en.json
Normal file
1
lang/php_en.json
Normal file
File diff suppressed because one or more lines are too long
1
lang/php_pt-br.json
Normal file
1
lang/php_pt-br.json
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue