Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Social Auth Vkontakte

Security covered Maintenance fixes only 62 sites

Part of the Social ecosystem · 70 projects

This module allows users to log in to your Drupal site using their Vkontakte (VK) account. It enables new users to register or existing users to log in using their VK credentials, and can also link a VK account to an already authenticated Drupal user.

Social Auth Vkontakte module is a vk.com Authentication integration for Drupal. It is based on the Social Auth and Social API projects.

Based on the official PHP SDK. Required the PHP 7.1 or later.

Requirements

This module requires the following modules and libraries:

Installation

To install this module and the required libraries, use composer:
composer require 'drupal/social_auth_vk:^4.0'

Migrate to 4.x

To migrate to version 4.x, you must do the following steps

  • Uninstall module: drush pmu social_auth_vk
  • Install newer version via composer: composer require 'drupal/social_auth_vk:^4.0'
  • Clear cache: drush cr
  • Enable module: drush en social_auth_vk
  • Enable module: drush en social_auth_vk
  • Check "Client ID" and "Client secret" values on the settings page
  • Update the “Redirect URL” value in the VK application to the value from the “Authorized redirect URL” on the settings page.

How it works

Users can click on the Vkontakte logo on the Social Auth Login block. You can also add a button or link anywhere on the site that points to /user/login/vk, so theming and customizing the button or link is very flexible.

When the user opens the /user/login/vk link, it automatically takes the user to VK Accounts for authentication. VK then returns the user to the Drupal site. If we have an existing Drupal user with the same email address provided by VK or the user has previously registered using VK, the user is logged in. If not, a new user account is created. Also, a VK account can be associated with an authenticated user.

Try to run the demo from https://github.com/thelebster/drupal8-social-auth-vk-demo.

Drupal 9–11

Ask your assistant about Social Auth Vkontakte

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Mar 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
4.0.1 Stable 9–11 Mar 25, 2024
4.0.0 Stable 9–10 Mar 23, 2024
4.x-dev Dev 9–11 Mar 21, 2024
3.0.1 Stable 8–10 Mar 21, 2024
8.x-2.1-beta7 Pre-release 8–9 Mar 21, 2024