Extension talk:GoogleAppsAuthentification

Jump to: navigation, search

About this board

Fatal error: Call-time pass-by-reference has been removed

Vrghost1 (talkcontribs)

Set up to use this one, but as soon as I try to log in I get

Fatal error: Call-time pass-by-reference has been removed in ..wiki/extensions/GoogleAppsAuthentication/Auth/Yadis/Manager.php on line 416

This seems to be an issue that other people have had, but can't find any solution (talkcontribs)

Remove ampersand from that line.

Reply to "Fatal error: Call-time pass-by-reference has been removed" (talkcontribs)

After installation when I click to login, I get a blank page. Any idea? (talkcontribs)

Error log post.

[08-Sep-2014 21:23:55 America/Detroit] PHP Fatal error: Call-time pass-by-reference has been removed in /home/leobaeck/public_html/wiki/extensions/GoogleAppsAuthentication/Auth/Yadis/Manager.php on line 416 (talkcontribs)

Remove ampersand from that particular line.

Reply to "Blank page" (talkcontribs)

Hi, i am getting this error:

Auth request object error. Try again

Is this probably related to the variable in LocalSettings.php, 'GoogleAppsDomain'?? i've set it this way:

$wgDefaultUserOptions['GoogleAppsDomain'] = 'google.com/a/myDomain.com';

Thanks in advance!

This post was posted by, but signed as Daniel.SL. (talkcontribs)

The variable 'GoogleAppsDomain' should have the domain you want to allow logins from. e.g. I only want google accounts with domain example.com to login, such as mom@example.com or dad@example.com:

$wgDefaultUserOptions['GoogleAppsDomain'] = 'example.com';

This way, jimmy@gmail.com won't be authenticated.

Reply to "Error with auth request" (talkcontribs)

I would like to know about the permission in the mediawiki, if I use this extension let say: sysops,beaurecrat,....

This post was posted by, but signed as

Reply to "Permission"
Jme2390 (talkcontribs)

Great plugin, it solves one of the missing pieces in our Google Apps login project.

With that said, it seems that while users can logout successfully, they can also log back in without being logged in to Google Apps.

Say I login to my MediaWiki install (whether or not I'm logged into Apps already) and I end up back at Main_Page. If I click log out, I'm logged out and everything is peachy keen. Now, if I'm also logged out of Apps at this point, I can log right back in just by clicking the log in link in the header. That is to say, I don't need to be logged into Apps again to actually authenticate to the wiki; it lets me right back in. I'm not sure what's going on here, I suspect it has to do with the temp files, but erasing them isn't solving the issue. On the off chance it was OS or browser specific, several have been tried (Safari, Chrome, Firefox, on Windows and OS X - all latest versions as of this writing). The (Apache on Debian) web server user has full r/w permissions to the tmp directory and subdirectories.

If you have any insight as to how to solve this "endlessly" persistent login problem, that would be greatly appreciated. We've come up empty handed thus far.

Thanks! (talkcontribs)
Willcwf (talkcontribs)
$wgHooks['UserLogout'] = array('fnUnsetLoggedInUser');

function fnUnsetLoggedInUser() {
        return true;

this works if you're logged out of google

Reply to ""Endlessly" persistant logins"
Koemski (talkcontribs)

(The solution outlined in 2012 further down this page doesn't work with mw 1.22)

After login I get redirected to the mediawiki login page. How can I get redirected to the page I was before or maybe the main page?

thx, Karsten PS: I use mw1.22.5

Reply to "Redirect to login page after login" (talkcontribs)


ok, now I'm logged in ... but how do I make myself an administrator or bureaucrat?

Best, Karsten

Jasper Deng (talkcontribs)

There should be a non-Google-Apps default account that you setup when you initially installed MediaWiki. (talkcontribs)

When using GoogleAppsAuthentification you cannot login with another user. There is no other login screen than the google-oAuth screen.

Jasper Deng (talkcontribs)
Koemski (talkcontribs)
  • mysql -u root -pPassword databasename
  • select user_id, user_name from user; -- find user_id of user, let's say: 2
  • insert into user_groups values (2, 'sysop'), (2, 'bureaucrat');
  • \q
Reply to "How do I make myself administrator?"

GoogleAppsAuthentication MediaWiki 1.22.1

1 (talkcontribs)

Is the extention still valid for MediaWiki 1.22.1? It looks like it doesn't work anymore.

Reply to "GoogleAppsAuthentication MediaWiki 1.22.1"

Suggestion / Has any : set this up for multipel domains

2 (talkcontribs)

Has anyone tried to get multiple domains working for instance gmail.com and somegoogleappaccount.com?

I would think you could just loop through the domains somewhere but I am not sure where. Anyone have an idea?

Reply to "Suggestion / Has any : set this up for multipel domains"

Sometimes can not sign in after Google's response

Llin.mitbbs (talkcontribs)

It is very convenient to have people log on a wiki with Google credential. Thanks for Bertrand Gorge and Emanuele Nanetti for the great work.


An issue is that sometimes, even with Google return the right credential, mediawiki (19.2) does not get people log in correctly.

So far, I found the root cause was with SpecialUserlogin.php and patched it. Detail is here.


Reply to "Sometimes can not sign in after Google's response"