Extension:SocialLogin
This extension is incompatible with the current stable MediaWiki 1.35 release! You are advised against using this extension on a live site. Volunteer developers are invited to pledge their efforts to updating this extension to make it compatible with MediaWiki 1.35 by replacing the {{Incompatible }} template with {{Incompatible |pledge=~~~~}} . |
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. |
SocialLogin Release status: unmaintained |
|
---|---|
![]() |
|
Implementation | User interface, Special page |
Description | Adds ability to login with Social Networks like Facebook, VKontakte, Google and more using OAuth 2.0 protocol. |
Author(s) | Luft-ontalk |
Latest version | 0.9.9 (2012-11-26) |
Database changes | Yes |
License | No license specified |
Download | Download master snapshot Note: |
|
|
The SocialLogin extension adds a special page with the ability to connect an account with social networks accounts like Facebook, VKontakte, and Google with their respective APIs.
This mean you can easily login to your MediaWiki project once you have connected your existing or new account with your social media account. Afterwards, the client's application extension will ask you to connect your social media account with an existing or new wiki account.
There are a few interactions with social media plugins out of box: Facebook, Google, VKontakte, Yandex and Odnoklassniki. However, you can create your own.
FeaturesEdit
- Integration with Facebook, Google, Vk, Yandex and Odnoklassniki;
- Opportunity to connect different social media accounts with one account;
- Opportunity to connect few account of one social media with one account;
- Opportunity to unlink social media account at anytime;
- Opportunity to map Login / Register link to Special:SocialLogin;
- Easy extensioning.
InstallationEdit
- Download and place the file(s) in a directory called
SocialLogin
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/SocialLogin/SocialLogin.php";
- Configure as required
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration parametersEdit
- $wgSocialLoginServices
- Associative array containing
plugin => description
structure. Every plugin key will be used to include SocialLoginPlugin's from plugins folder and must match plugin filename, e.g. google.com, vk.com, odnoklassniki.ru. For example:
$wgSocialLoginServices = array(
'vk.com' => 'VKontakte',
'facebook.com' => 'Facebook',
'google.com' => 'Google',
'odnoklassniki.ru' => 'Odnoklassniki',
'yandex.ru' => 'Yandex'
);
- $wgSocialLoginOverrideUrls
- If set to true, Login / Register link will be mapped to Special:SocialLogin.
- $wgSocialLoginAddForms
- If set to true, two forms (login and register) will be added below SocialLogin page for anonymous user.
- $wgVkSecret
- vk.com application secret.
- $wgVkAppId
- vk.com application ID.
- $wgFacebookSecret
- facebook.com application secret.
- $wgFacebookAppId
- facebook.com application ID.
- $wgGoogleSecret
- google.com application secret.
- $wgGoogleAppId
- google.com application ID.
- $wgYandexSecret
- yandex.ru application secret.
- $wgYandexAppId
- yandex.ru application ID.
- $wgOdnoklassnikiPublic
- odnoklassniki.ru application public.
- $wgOdnoklassnikiSecret
- odnoklassniki.ru application private.
- $wgOdnoklassnikiAppId
- odnoklassniki.ru application ID.
- $wg…Secret
- Additional site application secret.
- $wg…AppId
- Additional site application ID.: