@wuethrich Thanks for creating this extension.

Will this work if the main site and sub-domain are on two different servers?
I have tried to implement the above and I can see new user being created but unable to login.

TheMohitMadan @wuethrich I have tried to put it on a sub-domain, but the problem remains the same. When I signup, new user is being created, but it does not automatically login. Same for the login process.

    TheMohitMadan It should work if your website is on a different server. Make sure the flarum_remember cookie get created upon a successful login.

    2 months later

    @wuethrich I have a flarum site with farily amount of users. I now want to create a wordpress landing site to be the main webpage, and put flarum on a sub domain.

    If i understand correct after reading this post, exsisting flarum users wont be able to login on the wordpress site?

    Could you just confirm if my perception is correct.
    Thx

      a month later

      FebriTriHarmoko I believe it's exactly what this extensions says it does ? Could you maybe be more specific about the feature you're asking about ?

      2 months later

      wuethrich Upload the Forum.php class and config.php to your main website and setup the Forum.php class. An example is given in index.php / logout.php.

      The Forum.php and config.php put on wordpress site root ??

      Hi ,
      My WordPress website is www.example.com and flarum is forum.example.com. I have been setup ,When I link to Forum via the WordPress successfully created a new user in the forum database, but not login to forum. The falrum_remember cookie not present under Forum.
      thanks

      7 days later

      Hello ! I'm trying to integrate your module to a SocialEngine website...

      The forum is on a subdomain
      I have a problem with curl_exec function - Error 500
      When I look at the log I have this error

      [Wed Nov 07 13:54:07 2018] [error] [client 109.133.215.114] FastCGI: comm with server "/var/www/clients/client0/web24/cgi-bin/php5-fcgi--443-mydomain.com" aborted: idle timeout (30 sec)
      [Wed Nov 07 13:54:07 2018] [error] [client 109.133.215.114] FastCGI: incomplete headers (0 bytes) received from server "/var/www/clients/client0/web24/cgi-bin/php5-fcgi-
      -443-mydomain.com"

      curl is installed and is working for other domains.
      Any idea of what's wrong ?

      Thank you 🙂

      a month later

      Does this extension work with Flarum 0.1.0-beta.8.1?

      6 days later

      Nevermind...I verified it works with beta8.1.

        dmh Yes, it works...somehow...but I can't set custom log in and log out URL as in beta 7 - there is no modal with settings. Is there some other way? (I tried to inset wuethrich44-sso.login_url direct into DB, but it still didn't work).
        Thanks.

        • dmh replied to this.

          juraj I haven't got that far. All I verified is that the user is remotely logged in. I just started using flarum beta 8 so I never did see the modal that you speak of.

          13 days later
          8 days later

          The extension is currently not compatible with 0.1.0-beta.8.1 however someone submitted a PR with a fix, just waiting on it to be merged.

          13 days later

          Fix for beta.8.1 tested and merged - I've got it successfully running with the wordpress plugin. Thanks @wuethrich!

          20 days later

          Cool that this works again. By the way, is there some way to embed Flarum as comments in wordpress now? I remember there was an incompatible plugin for embedding flarum, but I never got it to work...

          I see a couple others have had this problem. I have this all set up. And, the user is automatically created and added to the Flarum database, but I am not logged into Flarum. So, I assume the remember me cookie isn't being set. Strange. It's OK though. I don't think this is exactly what I would want. I would want some kind of crazy magical single sign on extension which allows one to sign up either at my Flarum forum, or my WordPress site, and then the same username/password works at both. This sounds like it is almost that. But not quite.