I have used the Socialite library for google login.
When trying to fetch the user data after successful google login it shows an invalid grant message
$googleUser = Socialite::driver('google')->user();
Response
Client error: `POST https://www.googleapis.com/oauth2/v4/token` resulted in a `400 Bad Request` response:
{
"error": "invalid_grant",
"error_description": "Bad Request"
}
The same code working on my local machine and previous laravel versions.
Thanks in advance