Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Social Auth Vkontakte

Security covered

Part of the Social ecosystem · 37 projects

View on drupal.org

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.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

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 Release date
4.0.1 Stable Mar 25, 2024
4.0.0 Stable Mar 23, 2024
4.x-dev Dev Mar 21, 2024
3.0.1 Stable Mar 21, 2024
8.x-2.1-beta7 Pre-release Mar 21, 2024