protected function getUserData(Provider $provider, $type)
    {
        $user = $provider->user();

        $model = $this->attemptToConnectUser($user, $type);

        $data = ['provider' => $type, 'user' => $user];

        $this->dispatcher->fire('orchestra.oneauth.user: saved', [$model, $data, $this->auth]);

        return $data;
    }