Not logged in. · Lost password · Register
Forum: Support Ideas and suggestions RSS
Authentication integration with MediaWiki?
mysticone #1
Member since Aug 2005 · 2 posts · Location: Panama City Beach, FL
Group memberships: Members
Show profile · Link to this post
Subject: Authentication integration with MediaWiki?
I'm just curious if anyone has ever done any work in integrating the authentication of UNB with MediaWiki so that the login credientials (username, password, etc.) can be shared between both programs.  Then a user could login to one, and be logged into the other as well, for a little bit better integration within a site.

I searched the forum and didn't see anything about MediaWiki except for a post written in a language I do not speak. :)  Thanks for your help!
Avatar
halr9000 #2
User title: Psi Webmaster
Member since Jul 2004 · 157 posts · Location: Atlanta, Georgia, USA
Group memberships: Members
Show profile · Link to this post
I would be most interested in that as well.
-hal
http://psi.affinix.com
http://halr9000.com
Avatar
Yves (Administrator) #3
User title: UNB developer & webmaster
Member since Jan 2004 · 3814 posts · Location: Erlangen, Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post #1
Nothing on-topic in that other post. :)

Do you mean you want to share the registration or even the login session between both systems? So when you register in one, be registered in the other, or when you log into one, be logged into the other?

Sharing the registration means somehow synchronising the users tables in the database or redirecting the user check from one system to the other. You'd need to decide what is your primary system, the board or the wiki. Or you created an independant thing that only cares about user registrations and both (board and wiki) would ask this thing when a user wants to log in.

Sharing the session is a bit more complicated. When a user logs into the board, the PHP session needs to be prepared with some information. When you want to log into the wiki, this preparation needs to be done from there.

In short: I haven't much experience with integrating the board with something else in this way yet. But I do plan to investigate this a little further in the future. You might want to track the bug about "external authentication".
♪ ...nanananah, all in all we’re just brilliant thieves, nanananah... ♪♬
mysticone #4
Member since Aug 2005 · 2 posts · Location: Panama City Beach, FL
Group memberships: Members
Show profile · Link to this post
Yeah, you pretty much hit the nail on the head.  I know that UNB and MediaWiki store information on users differently (UNB has fields for a lot, lot more things for example), but I would think if three or four things could be synchronized it might be doable.

I'm sure it can probably be done in some way, but, I was hoping someone else had worked on it or done it before so I wouldn't have to try and do it all myself hehe.  External authentication may be the way to go, though.
Avatar
halr9000 #5
User title: Psi Webmaster
Member since Jul 2004 · 157 posts · Location: Atlanta, Georgia, USA
Group memberships: Members
Show profile · Link to this post
PHPBB integration with MW: http://meta.wikimedia.org/wiki/PHPBB/Users_Integration

LDAP: http://meta.wikimedia.org/wiki/LDAP_Authentication
-hal
http://psi.affinix.com
http://halr9000.com
Avatar
halr9000 #6
User title: Psi Webmaster
Member since Jul 2004 · 157 posts · Location: Atlanta, Georgia, USA
Group memberships: Members
Show profile · Link to this post
Yves, have you considered further adding any sort of userdb integration in the roadmap?
-hal
http://psi.affinix.com
http://halr9000.com
Avatar
Yves (Administrator) #7
User title: UNB developer & webmaster
Member since Jan 2004 · 3814 posts · Location: Erlangen, Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Not yet.
♪ ...nanananah, all in all we’re just brilliant thieves, nanananah... ♪♬
Avatar
davidm #8
User title: MODx Marketing
Member since Apr 2005 · 40 posts · Location: Paris, France
Group memberships: Members
Show profile · Link to this post
+1
This would certainly be a great feature !

One of the things I hope for in the future is better web applications integration... either a third party app to integrate this or even better some kind of common "passport" stored on a common server just like PGP keys, TypeKey (what TypePad uses for MT blogs)...

I'll watch this closely !
My favorite CMS : MODx | Textpattern
My websites : david-molliere.net | nodeo.net
Avatar
Yves (Administrator) #9
User title: UNB developer & webmaster
Member since Jan 2004 · 3814 posts · Location: Erlangen, Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by davidm:
some kind of common "passport" stored on a common server just like PGP keys, TypeKey (what TypePad uses for MT blogs)...

There's another thread about that passport thing. OpenID I think is a good search term.

I'll increase the external authentication task priority.
♪ ...nanananah, all in all we’re just brilliant thieves, nanananah... ♪♬
Avatar
Einstein #10
Member since Dec 2005 · 68 posts · Location: Turku, Finland
Group memberships: Members
Show profile · Link to this post
Wiki and UNB ... I'm very intreseted in such a project too.

But why MediaWiki? Isn't DokuWiki beter?

The external authentication task: http://newsboard.unclassified.de/task/138
Info Page plug-in | My business | My forum
This post was edited 2 times, last on 2005-12-31, 17:55 by Einstein.
Avatar
Einstein #11
Member since Dec 2005 · 68 posts · Location: Turku, Finland
Group memberships: Members
Show profile · Link to this post
Quote by Einstein on 2005-12-31, 17:45:
Wiki and UNB ... I'm very intreseted in such a project too.

But why MediaWiki? Isn't DokuWiki beter?
Making a post into wiki could be very easy. Attached a diff engine from dokuwiki that can be used when saving a post. The history data has then to be put somewhere ... for example a new database table. Secondly, a have already under development a info page modification that can be improved into a wiki. The info page modification can be found at this post.
Info Page plug-in | My business | My forum
The author has attached one file to this post:
DifferenceEngine.phps 26.1 kBytes
You have no permission to open this file.
YvesFischer #12
Member since Feb 2006 · 11 posts · Location: South West Germany
Group memberships: Members
Show profile · Link to this post
I had played a little with Mediawiki and wrote a AuthPlugin Class. You can see it at:
http://xapek.org/apps/wiki/index.php/UNB_Mediawiki (this link isnt stable)
or in my attachement..
Its possible to Login in MediaWiki with the same User/Pass as in UNB.
Feedback welcome-
The author has attached one file to this post:
Logon.php 23.4 kBytes
You have no permission to open this file.
Thomas K (Guest) #13
No profile available.
Link to this post
Subject: User DB Integration is a global issue.
Someone should start a project called UserDB, which can manage and authenticate users for a set of web-apps.
This would save many web-app developers the time to develop their own GUI for always the same thing.
The only problem is how to save user preferences.

  • CMS
  • Wikis
  • Forums
  • whateverelse

I am building an Intranet, and this adds a content management system to the list
http://www.cmsmadesimple.org/

Thomas.
Avatar
Yves (Administrator) #14
User title: UNB developer & webmaster
Member since Jan 2004 · 3814 posts · Location: Erlangen, Germany
Group memberships: Administrators, Members
Show profile · Link to this post
There could be a common extensible standard for those settings. But it'd require a commonly regarded standardisation organisation and a whole lot of time, unless that someone also comes up with a reasonable draft that many other developers can accept.
♪ ...nanananah, all in all we’re just brilliant thieves, nanananah... ♪♬
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20110527-dev, © 2003-2011 by Yves Goergen
Page created in 273.4 ms (171.9 ms) · 128 database queries in 153.4 ms
Current time: 2012-02-07, 19:16:51 (UTC +01:00)