Ok, I have the exact same issue as the OP.
I installed the WP plugin, configured the SSO options there as per the guide.
Configured the SSO options on discourse.
All seems fine since the WP plugin is saying connected.
But everytime I try to comment from a post, I see the link continue on discourse, and then I get redirected to the WP login page. Even though I’m already logged in.
Another thing that is weird (or maybe I don’t understand the process yet) is that when I register a new user on the WP site, it is not synced back to discourse.
Finally, I enabled logs to see what was going on but it looks like all the variables are empty. which might be the indicator of the issue, but I have no idea where to look next!
Any help would be appreciated.
here’s the log info
Verbose SSO log: Started SSO process
nonce: 5e9b9e69cdebcd86a031ae07d4e059b1
name:
username:
email:
avatar_url:
avatar_force_update:
require_activation:
bio:
external_id:
return_sso_url: http://discourse.mysite.com/session/sso_login // I notice here that the protocol is http when I configured https in the settings
admin:
moderator:
suppress_welcome_message:
title:
add_groups:
remove_groups: