protected function isValidCallback(Request $httpRequest)
    {
        return $this->session->has("provider")
            && $httpRequest->query->has("state")
            && $this->session->has("oauth2state")
            && is_string($this->session->get("oauth2state"))
            && (strlen($this->session->get("oauth2state")) > 0);
    }