Lumen Laravel Error Fixed Collections

1. Warning: Accessing repo.packagist.org over http which is an insecure protocol.
fixed with : composer config -g -- disable-tls false
noted "use get the insecure network to get the package"

2. Checking health of composer configuration : curl -sS https://getcomposer.org/installer | php -- --check

3. Client error: `POST https://www.googleapis.com/oauth2/v4/token` resulted in a `401 Unauthorized` response:

{
"error": "invalid_client",
"error_description": "Unauthorized"
}


this error because the client id and client secret is not match, please check the credential.

4. Target [Laravel\Socialite\Contracts\Factory] is not instantiable
fixed with : //socialite
$app->register(Laravel\Socialite\SocialiteServiceProvider::class);



Comments