Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
------------------------

Expand Down
14 changes: 7 additions & 7 deletions src/clients/VKontakte.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/**
* VKontakte allows authentication via VKontakte OAuth.
*
* In order to use VKontakte OAuth you must register your application at <https://vk.com/editapp?act=create>.
* In order to use VKontakte OAuth you must register your application at <https://vk.ru/editapp?act=create>.
*
* Example application configuration:
*
Expand All @@ -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 <[email protected]>
* @since 2.0
Expand All @@ -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
Expand All @@ -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';
Expand Down
Loading