• Resolved javierdemuga

    (@javierdemuga)


    Social Login is not working with any Cache plugin

    Suggested solution to make it work, excluding PHPSESSID cookie from cache is not working because the plugin is not setting this cookie at any point.

    I wonder if anyone has been able to make the plugin work with any standard cache plugin.

    This is a basic feature to have. Caching website content it is a must to have decent speed.

    I will need to switch to another social plugin eventually if Caching is not supported.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Heateor Support

    (@heateor)

    It depends on the cache plugin you are using. For example, if you are using the Varnish, you can try excluding login from Varnish cache. Go to Direct Admin > Varnish > Excludes > Add ‘Login’ in the Varnish dashboard. Similarly, you can exclude login from cache for any other cache plugin if it gives you any such option.

    Thread Starter javierdemuga

    (@javierdemuga)

    I am not using Varnish but I do not think that will work anyway, I am already not caching users that are logged in (wordpress_logged_in cookie). That is what most probably Varnish is doing. That does not help to make work your social login

    Other login plugins set a cookie which can be excluded from the cache systems, this is the usual workflow. Then the cache plugins can be configured to exclude the calls with that cookie.

    I expect from your plugin better information regarding Cache compatibility and way of configuration, the support topic about Cache is outdated.

    Plugin Author Heateor Support

    (@heateor)

    This plugin doesn’t set any extra cookie. It uses the WordPress function <a href="https://developer.wordpress.org/reference/functions/wp_set_auth_cookie/" rel="noopener" target="_blank">wp_set_auth_cookie</a> to login user to WordPress.

    Plugin Author Heateor Support

    (@heateor)

    If you drop an email at support[at]heateor[dot]com regarding the same, I would be able to assist you further to fix this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Social Login not working with Cache’ is closed to new replies.