Merge pull request #1 from niravsutariya/patch-1
fix: correct Google OAuth config key in token refresh
This commit is contained in:
commit
5c26d58ad5
1 changed files with 2 additions and 2 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue