Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › Single Sign On Across Multiple Domains/WP Installations
Tagged: Multisite membership, Single Sign On
- This topic has 3 replies, 2 voices, and was last updated 11 years, 9 months ago by wzp.
-
AuthorPosts
-
February 8, 2013 at 2:52 am #8504jkdMember
Hi,
Just bought eMember and eStore together – very impressive product and support documentation is truly awesome.
My question is:
I have two different domains, each having their own WP installations. I would like for a member to be able to log into one site and automatically be recognized on the other site without having to re-log in. I would like to know if this is possible and if it is, what would be the steps to implement it. Surely this has been run across before by someone?
Thanks in advance to anyone who can point me in the right direction.
February 8, 2013 at 4:55 am #53699wzpModeratorFebruary 8, 2013 at 7:02 am #53700jkdMemberThanks for those links. From those conversations, it seems this isn’t something eMember/eStore will support out of the box.
If someone logs on with user/password to [www.mydomainA.com] successfully, and then they click a link that takes them to my other site at [www.mydomanB.com], they would have to log in again because they’re two separate databases. (right?)
It would be a nice feature if these plugins allow a master/slave situation, where the slave installation would simply point back to the master’s user & store db.
The other conversation mentioned that it probably could be done by updating some of the php files to reconfigure the pointer to the db. I realize this is outside of the support for the product, but could you give me a hint as to what else might have to be tweaked? For example, are cookies involved here? I mean, how does the server know that the particular browser is signed in? If cookies are used, then they’re probably based on the domain name. Just trying to get an idea of how much work it’s gonna be for me to program this myself.
February 8, 2013 at 3:08 pm #53701wzpModeratorThe problem is that each site maintains its own membership database. Theoretically, it might be possible to have an authentication API into the same user database, or perhaps some kind of cross site database updating, but adding such a feature would require considerable design work, to prevent hacking and other forms of ID fraud from occurring.
I would recommend taking a look at this post and see if any of the workaround approach works for you:
https://support.tipsandtricks-hq.com/forums/topic/wp-multisite-install-and-plugin-behavior
-
AuthorPosts
- You must be logged in to reply to this topic.