Jump to content

Topic on Extension talk:SocialLogin

Login redirect not working, no images

4
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"