public function __construct(Request $request, $openPlatformAppId, $openPlatformToken, $clientId, $clientSecret, $redirectUrl = null) { $session = new Session(); $request->setSession($session); parent::__construct($request, new \Overtrue\Socialite\Config([]), $clientId, $clientSecret, $redirectUrl); $this->openPlatformAppId = $openPlatformAppId; $this->openPlatformToken = $openPlatformToken; }