Answers for "for Client error: POST "https://www.googleapis.com/oauth2/v4/token" resulted in a "400 Bad Request" response:"

0

for Client error: POST "https://www.googleapis.com/oauth2/v4/token" resulted in a "400 Bad Request" response:

public function redirectToProvider($driver)
{
  //  return Socialite::driver($driver)->stateless()->redirect();
    return Socialite::driver('google') ->setScopes(['openid', 'email'])

        ->redirect();
}
Posted by: Guest on September-14-2021

Code answers related to "for Client error: POST "https://www.googleapis.com/oauth2/v4/token" resulted in a "400 Bad Request" response:"

Browse Popular Code Answers by Language