Jump to content

Extension talk:SocialLogin

About this board

please help the setup of localsettings.php !

Alexandroslee (talkcontribs)

first I want like this display

this is my setup , but nothing show ? what's wrong I mad ?

require_once "$IP/extensions/SocialLogin/SocialLogin.php"; $wgSocialLoginServices = array( 'facebook.com' => 'Facebook', 'google.com' => 'Google', 'lineedin.com' => 'LinkedIn', 'twitter.com' => 'Twitter' );

Reply to "please help the setup of localsettings.php !"

Login redirect not working, no images

Roland Roberts (talkcontribs)

These settings

$wgSocialLoginAddForms = true;

$wgSocialLoginOverrideUrls = true;

don't seem to have any effect. Neither the register nor the login screen redirect. I can go directly to Special:SocialLogin but even there I don't get the login buttons I expected to see to link my accounts. Instead I just get a plain forms. I actually get the forms twice. I get a column with Facebook twice, another column with Google twice.

I also get 3 errors on the Chrome console.

index.php?title=Special:SocialLogin:22 GET https://bayridgetroop13.org/extensions/SocialLogin/css/style.css 404 (Not Found)

index.php?title=Special:SocialLogin:23 GET https://bayridgetroop13.org/extensions/SocialLogin/auth.js

index.php?title=Special:SocialLogin:24 Uncaught ReferenceError: $ is not defined(anonymous function) @ index.php?title=Special:SocialLogin:24

Roland Roberts (talkcontribs)

Ah, I know what the problem is, I just don't quite know why. Those URLs are wrong. The base URL for the wiki is https://bayridgetroop13.org/wiki.

Roland Roberts (talkcontribs)

I "fixed" the problem locally by hardcoding the "wiki" part of the URL in my copy of the extension.

I was expecting that the two variables

$wgSocialLoginAddForms = true;

$wgSocialLoginOverrideUrls = true;

would be my login and register pages redirected to Special:SocialLogin, but that doesn't seem to be the case. What am I missing?

Roland Roberts (talkcontribs)

Sadly, this appears permanently broken. I've never been able to get anything to show up allowing facebook or google login. Yes, I've been able to do both with other apps I've written, but this extension doesn't seem to be doing it.

Reply to "Login redirect not working, no images"

still broken on 1.23? Did anybody got it to work?

Stko~mediawikiwiki (talkcontribs)

Hi we facing the problem that the special:sociallogin page just stays empty (used the download packet from this site). Unfortunately without understanding and debugging the whole extension first, we do not have any further details or hints yet, only this empty page (just showing the page name header and all the surrounding menus, but no page content as such)

Did anybody had the same experience and got it fixed?

many thanks in advance Steffen

This post was posted by Stko~mediawikiwiki, but signed as Stko. (talkcontribs)

Have you solved this problem yet? I cannot get to work?

Can someone provide their exact configuration for this (minus secretIDs)?

Using Mediawiki 1.23

Reply to "still broken on 1.23? Did anybody got it to work?"

Not showing login button when anonymous' read is not allowed

1 (talkcontribs)


Thanks for great extension.

I set below configuration on 'LocalSettings.php' to block all anonymous reading.

$wgGroupPermissions['*']['read'] = false;

and I'm not able to get the login button of this extension. The 'onUserLoadAfterLoadFromSession' hook function is not called when I load the page. hooks.txt tells me that this hook function is called to authenticate users.

Is there any way to enable this SocialLogin functions on this condition?

This post was posted by, but signed as

Reply to "Not showing login button when anonymous' read is not allowed" (talkcontribs)

I set up facebook app, put the rights credentials (app id, app secret) to my LocalSettings and when I click on facebook button to connect nothing happens. What I should see after clicking on "facebook button"? (talkcontribs)

Check debug panel (for example in Chrome) is there any errors? You should see popup window with standart facebook auth UI.

This post was posted by, but signed as Luft-on.

Reply to "How it works"

Social Login Extension Issues

1 (talkcontribs)

Mediawiki: 1.24 Social Login Extension Version: 0.9.9 (2012-11-26)


i install Social Login Extension. But it does not work fine it shows error on homepage.Below is the error:

"Warning: Cannot modify header information - headers already sent by (output started at /home1/gurpry/public_html/p3workshop.in/mediawiki/extensions/SocialLogin/SocialLogin.php:18) in /home1/gurpry/public_html/p3workshop.in/mediawiki/includes/WebResponse.php on line 37"

Reply to "Social Login Extension Issues"
Sophivorus (talkcontribs)

The extension calls the function wfLoadExtensionMessages(), which was removed from MediaWiki 1.21, and so currently crashes the extension. But even after I removed the call to the function, the extension doesn't seem to be working. When I go to Special:SocialLogin, the links to the different services appear in plain text (no images or link style, is that supposed to be like that?), and when clicking them, something appears to load but nothing happens. I may have a chance to fix this myself in the following days, but maybe someone who already knows the extension will be more efficient?

Deletedaccount4567435 (talkcontribs)

Same problem, not working in 1.22. (talkcontribs)

I think I somehow figured out how to fix the problem.

In SocialLogin.php, changing "<?" to "<?php" should work.

Because the first line is "<?", the web server treats SocialLogin.php as plain text file instead of script.

Reply to "Broken in 1.21"

How does Google accounts work?

1 (talkcontribs)

How would I do a login with G+'s API? Should I choose OAuth 2.0 Web Application? What keys should I get? Server or client? Your documentation is very limited in nature.

Reply to "How does Google accounts work?"

doesn't work with new MW

Nischayn22 (talkcontribs)

This extension doesn't work with new versions of MW, basically the sql file isn't present. Can you please fix that or at least update this on the page?

Reply to "doesn't work with new MW"
Luft-on (talkcontribs)

"There are few interaction with social media plugins out of box:..." -- what are those interactions? I really get very little sense of what this extension actually does. Does it allow you to log in with your social media credentials, or do you have to have a separate wiki account? --Woozle (talk) 19:33, 24 October 2012 (UTC)

Luft-on (talkcontribs)

This mean you can once connect you social media account with MW one and login with it's credentials easily. After you authorize client app you will be asked MW credentials to connect this accounts or data to register new account, they will connect automatically. I'll try to explane this in article. Thanks for the question.

Reply to "Details?"
There are no older topics