Hi, I use sso to login to wordpress by discourse. I used discourse wordpress plugin
First it’s work smoothly
But when I’m in the same session (not log out), and try to go to link admin /wp-admin/, it does not redirect me to dashboard, and show this error in login form:
Expired Nonce
There is something wrong with session or cookies
This make user confused, because I use sso by google login
I think the problem you are having is caused by object caching on your server. Try adding something like the following code to your WordPress theme’s functions.php file to see if that solves the problem:
Thanks mate, after swearing a lot I found the problem: the Paid Membership Pro plugin made a conflict. I still need to find out how to restrict content on Wordpress for users coming from Discourse SSO but at least I see where the problem is now