This module is base on Social Auth, Social API and Social Auth Facebook
I don't have enough experience to invent a new module so I referred to the Social Auth Facebook to implement this module. You will see many code from Social Auth Facebook. Thanks to contributors of Social API, Social Auth and Social Auth Facebook
Social Auth Zalo allows users to register and login to your Drupal site with their Zalo account. The module request scopes: Id, Name in Zalo API for authenticate user.
This module adds a path: user/login/zalo this path will redirect user to Zalo login page.
After Zalo return the user back to website, the module use Zalo SDK to request Access Token then get the user's Id, Name from Zalo API. The module use Id, Name to authenticate user or create new if not exist.
Dependencies
Please use modules version below for social_auth_zalo:8.x-2.x-dev:
- Social Auth (2.0-rc1 - https://www.drupal.org/project/social_auth)
- Social Api (2.0-rc1 - https://www.drupal.org/project/social_api)
- Zalo SDK for PHP (v2.0.0 - https://github.com/zaloplatform/zalo-php-sdk)
Installation
composer require drupal/social_auth_zalo
Configuration
Please see my screencast: https://youtu.be/_E8xHB9keAI
Project information
Seeking new maintainer
The current maintainers are looking for new people to take ownership.- Project categories: Access control
- Created by phthlaap on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.




