📌  相关文章
📜  对于客户端错误:POST“https:www.googleapis.com oauth2 v4 token”导致“400 Bad Request”响应:-无论代码示例

📅  最后修改于: 2022-03-11 14:56:16.429000             🧑  作者: Mango

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

        ->redirect();
}