I have a problem in my production environment with Laravel Socialite's Google auth. The error is same as on this post:
laravel socialite not working on live server, only works on local machine
but I have an Apache server and after many tries, I haven't found a solution.
Edit:
Client error: POST "https://www.googleapis.com/oauth2/v4/token" resulted in a "400 Bad Request" response:
{
"error": "invalid_request",
"error_description": "Missing required parameter: code"
}