Topic on Extension talk:GoogleLogin

Google login works, but brings me back to the mediawiki login page

6
Moorewr242 (talkcontribs)

The hand off to google and return all seem to work as expected, but the wiki acts like I just arrived at the login page instead. Nothing useful I can tell shows up in the server logs or debug mode. Where do I start looking?

Moorewr242 (talkcontribs)

Simple fix - this is a private wiki and I had not given anonymous users rights to see the login page.

$wgWhitelistRead = array ("Special:UserLogin");

$wgWhitelistRead = array ("Special:GoogleLoginReturn");

Simran.setia (talkcontribs)

if we restrict the anonymous reading, it is still not working.

Florianschmidtwelzow (talkcontribs)

Is your problem solved? What is your current configuration of user rights and whitelisted read pages?

190.195.39.244 (talkcontribs)

We have the same problem, the oauth seems to work but it redirect to:

http://wiki.Example.com/Especial:GoogleLoginReturn?state ...

And show the message: 'You must login ...'

This is in my LocalSettings.php

$wgShowExceptionDetails = true;

require_once "$IP/extensions/GoogleLogin/GoogleLogin.php";

$wgGLSecret = '...';

$wgGLAppId = '...';

$wgWhitelistRead = array ("Special:GoogleLoginReturn","Epecial:GoogleLoginReturn");

Florianschmidtwelzow (talkcontribs)

You've a spelling mistake in the wgWhitelistRead array, the special page entry should look like "Especial:GoogleLoginReturn", you missed the first s after the E :)

Reply to "Google login works, but brings me back to the mediawiki login page"