Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Single Sign-On with Wordpress?

Is there any way to accomplish single sign-on with a wordpress site and an embedded forum? If so, is there any good documentation? All I can find is Proxy Connect and js Connect add ons, but these seem like they are just for forums hosted at the wordpress site, not for embedded forums, and Proxy Connect did not work when I tried it with a self-hosted forum on same server as wordpress anyway.

Comments

  • Help? Please? Is there a way?
  • Howdy @banjotrout, ProxyConnect is the easiest way of doing SSO with WordPress. Yes, it should work via Embed. It looks like it's already enabled on your site, so let us know if you run into trouble with it. There's background documentation here: http://vanillaforums.org/page/singlesignon
  • Thanks, Lincoln. When I go to myforum.vanillaforums.com and go to "Authentication", then choose "Proxy Connect", I do not get any options in the "Integration Manager" dropdown. Do I need to "Activate" ProxyConnect in order to get the options? It seems like when I tried activating with a self-hosted forum, it did not work and I was locked out, so I'm asking BEFORE I risk getting locked out again.
  • I was able to get the authentication to take settings, but it still does not work for SSO.

    Here is what happens:

    All settings at configuration in myforum.vanillaforums.com are set as indicated in Proxy Connect Wordpress plugin.

    IF I set the cookie in both places to .vanillaforums.com, then I get locked out of Wordpress.

    IF I set the cookie in both places to .myforum.com, then when logged into wordpress, but not logged in to myforum.vanillaforums.com, my Wordpress home page is embedded at the embed page instead of the forum being embedded at the home page with a login option.

    It only works in both places when I am logged in as the admin for both. Otherwise, it does not work.

    Please tell me what I'm doing wrong.
  • Not sure the forum etiquette here... do I need to start a new thread since I "accepted" the staff answer?
  • TimTim
    Staff
    What is the address of your Wordpress site?
  • We had our site's forum page protected by WishList member software, but we've removed that protection so you can view where the Vanilla forum is (or should be) embedded. http://www.authorems.com/discussions/
  • TimTim
    Staff
    The problem you're running into is that cookies work by domain name. Unless you configure your forum with a custom domain, so that it ends with "authorems.com", you wont be able to share cookies. Something like "forum.authorems.com". You could still embed it if you like, but it needs to use that custom domain.
  • Since the forum is embedded in a page here: "http://www.authorems.com/discussions", does this mean I need to somehow create a subdomain for that specific wordpress page, then create a CName record for the new subdomain before I can set up the custom domain through the forum dashboard setup?
  • TimTim
    Staff
    Just set up a CNAME for 'discussions.authorems.com' pointing to 'authorems.vanillaforums.com' and let me know when you're done.
  • This is done.
  • Is this not accomplished by the Vanilla plugin for Wordpress??
  • Hi @knitpad, the Vanilla plugin for WordPress is to assist in integrating Vanilla features into WordPress. For SSO you'd need a plugin for Vanilla.
  • Got it, @Lincoln - thanks!
Sign In or Register to comment.