feat: add include_granted_scopes to Google OAuth

Enables incremental authorization so previously granted scopes
are preserved when requesting new permissions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Paulo Castellano 2026-01-26 13:41:15 -03:00
parent 3f5411e73c
commit 4fa1cb32dc

View file

@ -297,6 +297,7 @@ private function redirectToGoogle(): Response
->with([
'access_type' => 'offline',
'prompt' => 'consent',
'include_granted_scopes' => 'true',
])
->redirect()
->getTargetUrl()