diff --git a/CHANGELOG.md b/CHANGELOG.md index a8e3212..118ff4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,10 @@ Yii Framework 2 authclient extension Change Log 2.2.18 under development ------------------------ +- Enh #398: Updated VKontakte client to use `vk.ru` domains instead of `vk.com` (DMITRII1548) - Bug #396: Fix `BaseOAuth::refreshAccessToken()` when no refresh token exists (kalmer) - Bug #393: Fix type for `BaseOAuth::$accessToken` (max-s-lab) - 2.2.17 February 13, 2025 ------------------------ diff --git a/src/clients/VKontakte.php b/src/clients/VKontakte.php index a1d4ea0..df087c7 100644 --- a/src/clients/VKontakte.php +++ b/src/clients/VKontakte.php @@ -13,7 +13,7 @@ /** * VKontakte allows authentication via VKontakte OAuth. * - * In order to use VKontakte OAuth you must register your application at . + * In order to use VKontakte OAuth you must register your application at . * * Example application configuration: * @@ -34,8 +34,8 @@ * ] * ``` * - * @see https://vk.com/editapp?act=create - * @see https://vk.com/dev/users.get + * @see https://vk.ru/editapp?act=create + * @see https://vk.ru/dev/users.get * * @author Paul Klimov * @since 2.0 @@ -45,15 +45,15 @@ class VKontakte extends OAuth2 /** * {@inheritdoc} */ - public $authUrl = 'https://oauth.vk.com/authorize'; + public $authUrl = 'https://oauth.vk.ru/authorize'; /** * {@inheritdoc} */ - public $tokenUrl = 'https://oauth.vk.com/access_token'; + public $tokenUrl = 'https://oauth.vk.ru/access_token'; /** * {@inheritdoc} */ - public $apiBaseUrl = 'https://api.vk.com/method'; + public $apiBaseUrl = 'https://api.vk.ru/method'; /** * @var array list of attribute names, which should be requested from API to initialize user attributes. * @since 2.0.4 @@ -73,7 +73,7 @@ class VKontakte extends OAuth2 ]; /** * @var string the API version to send in the API request. - * @see https://vk.com/dev/versions + * @see https://vk.ru/dev/versions * @since 2.1.4 */ public $apiVersion = '5.95';