Option is checked but not working.
It should work. Did the user login to WordPress through Discourse? Is your Discourse site set to ‘login required’? Do you know if this is failing for all users on your forum, or just a particular user?
Hi, I log from Wordpress as SSO client and my Discourse is not login required. The option seems to work when I log in/out with another account (which is a regular user). Could it be because I’m an admin on Wordpress and/or Discourse?
Being an admin on Discourse shouldn’t have any effect. It’s possible that it is having an effect on the WordPress end though. Syncing logout with Discourse depends on the WordPress
wp_clear_auth_cookie function. That is a ‘pluggable’ WordPress function. That means that the function can be overwritten by other plugins. Possibly there is a less fragile hook that the WP Discourse plugin could use for syncing logout. I’ll take a look at that.