Extension:SocialLogin

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon alert-invert.svg
SocialLogin
Release status: unstable
SocialLogin.png
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
Parameters
  • $wgSocialLoginServices
  • $wgSocialLoginOverrideUrls
  • $wgSocialLoginAddForms
  • $wgVkSecret
  • $wgVkAppId
  • $wgFacebookSecret
  • $wgFacebookAppId
  • $wgGoogleSecret
  • $wgGoogleAppId
  • $wgYandexSecret
  • $wgYandexAppId
  • $wgOdnoklassnikiPublic
  • $wgOdnoklassnikiSecret
  • $wgOdnoklassnikiAppId
Hooks used
UserLoadAfterLoadFromSession
PersonalUrls
Translate the SocialLogin extension if it is available at translatewiki.net
Check usage and version matrix.

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.

Features[edit]

  • 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.

Installation[edit]

  • Download and place the file(s) in a directory called SocialLogin in your extensions/ folder.

Configuration parameters[edit]

$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.:

External Links[edit]

Social Login Extension For Magento

Other languages: English  • русский