public function getProviderKey()
. When debugging, the browser console returns a json with an error.public function getProviderKey()
{
return $this->requestFromEndpoint('userid');
}
https://oauth.vk.com/authorize?client_id=my_client_id&scope=&state=0f9f0b3d468246f782f43cd15820853b&redirect_uri=https%3A%2F%2Fmy-site.ru%2Fregister%2Fvk%3Fassoc%3D1&response_type=code
https://oauth.vk.com/authorize?type=web_server&client_id=my_client_id&redirect_uri=https%3A%2F%2Fmy-site.su%2Fconnected_account.php&response_type=code&scope=
$state = md5(uniqid('xf', true));
We use essential cookies to make this site work, and optional cookies to enhance your experience.