[Mediawiki-l] PHPbb + Mediawiki Single Sign On Proof is working

Adam Meyer meyer7 at mindspring.com
Wed Mar 9 01:53:22 UTC 2011


Past few days I have been looking for a way to have a real single sign on between mediawiki and phpbb. I wanted the login state in phpbb to dictate that in mediawiki.
I got it working.

If you logout of phpbb, you logout of mediawiki, if you login to phpbb you are then logged into mediawiki.

In mediawiki I have it checking the session of phpbb and doing an auto log.

BUT THERE IS A HUGE ISSUE:
I had to replace every instance of User (Class) in every mediawiki file with mw_User because phpbb also has a user class.

I know a lot of people have asked about this. It is possible, but it is a ton of work. 

This is nothing short of a hack, but for anyone interested, I though I would share.


-Adam


More information about the MediaWiki-l mailing list