tl;dr - When a new WordPress user places an order or signs up, they appear to somehow be overwriting or connecting with existing users in Discourse. Not sure how to troubleshoot.
- We are using the wp-discourse plugin for SSO where Wordpress is the DiscourseConnect Provider.
- We launched our Discourse community, hosted on a Digital Ocean droplet
- When we launched the discourse community and connected to SSO with the wp-discourse plugin, we were hosting WordPress on AWS Lightsail, using Plesk as our control panel
- We migrated to Nexcess WordPress managed hosting, earlier this year and the Discourse connector seemed to remain intact.
- We did not migrate our users when we moved to our new WordPress installation. They were exported, and we plan to import them soon.
- Our WordPress site has been closed down for a bit as we’ve been making some big adjustments
Over the past few months, we’ve had a lot of people placing orders on WordPress (WooCommerce), and we noticed something peculiar… that when you look at a user account in WordPress and look at the Discourse Username field, that their username is showing as those of existing users from Discourse. Somehow our connection to Discourse seems to be messed up. A user just signed up today and their Discourse Username is tennisdpm which you can see is an existing user, who signed up back in 2020.
We are soon going to be migrating (adding) all of the users who had accounts on our old WordPress instance, and adding them to our new instance, but seeing how there seems to be some conflict with existing users and new users signing up, we want to had a plan of action that would prevent continued conflicts and sync existing WP users (via email as unique identifier) with Discourse users, and provision new SSO Discourse accounts, when new WP users come on board.
Would really appreciate some help and direction on how we should proceed!
Existing wp-discourse connect SSO settings: