Forums | Mahara Community
Support
/
Need to make a same signon on mahara and wordpress
10 October 2014, 21:46
I am pretty new to Mahara and have a query and need your help
When I login from wordpress I want the session should become active for mahara aswell i.e user should get loggedin in both worpress and mahara
Can anyone help me understand how I can achieve it or point me in right direction
10 October 2014, 22:46
Hi Dinshaw,
The first place to look would be to look at the authentication plugins within Mahara in the htdocs/auth/ subdirectory - each subdirectory there is an auth plugin.
There is also:
https://wiki.mahara.org/index.php/Plugins#Authentication_Plugins to see how others have constructed an authentication plugin
Cheers
Robert
11 October 2014, 8:48
To accomplish Single Sign On you'll need something like a Central Authentication Service (CAS) server (probably fed by a LDAP server) and Wordpress CAS Maestro plugin on your WordPress system and something similar on Mahara. This is not a trivial afternoon's undertaking.
13 October 2014, 12:15
As Mark said, you're talking about Single Sign On (SSO). Mahara ships with three authentication plugins that support SSO: BrowserID, SAML, & XMLRPC (Mnet), and there are also CAS and Shibboleth plugins available.
Of these, probably the easiest one to set up is BrowserID (also known as "Persona"). And there does seem to be a BrowserID plugin for WordPress too, so maybe you can go with that? https://wordpress.org/plugins/browserid/
Cheers,
Aaron