public function authorize()
{
$this->view->disable();
$params = ['client_id' => $this->clientId, 'redirect_uri' => $this->redirectUriAuthorize . urlencode('&statekey=' . $this->security->getTokenKey()), 'state' => $this->security->getToken(), 'scope' => 'user:email'];
$url = $this->endPointAuthorize . '?' . http_build_query($params);
$this->response->redirect($url, true);
}