Merge pull request #1 from niravsutariya/patch-1

fix: correct Google OAuth config key in token refresh
This commit is contained in:
Paulo Castellano 2026-03-29 17:05:56 -03:00 committed by GitHub
commit 5c26d58ad5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -182,8 +182,8 @@ private function refreshYouTubeToken(SocialAccount $account): void
$response = Http::asForm()->post('https://oauth2.googleapis.com/token', [
'grant_type' => 'refresh_token',
'refresh_token' => $account->refresh_token,
'client_id' => config('services.youtube.client_id'),
'client_secret' => config('services.youtube.client_secret'),
'client_id' => config('services.google.client_id'),
'client_secret' => config('services.google.client_secret'),
]);
if ($response->failed()) {