The discussion explores the WP-Discourse plugin and DiscourseConnect (formerly Discourse SSO) for integrating WordPress with Discourse. tobiaseigen asks about the benefits and trade-offs of enabling SSO, including account linking and profile data synchronization. simon explains that DiscourseConnect replaces traditional SSO with a dedicated authentication method, where user accounts are created and managed externally, with data synced to Discourse via the SSO payload. Key fields like username, email, name, bio, and avatar are synced by default, while others like location and website can be added via filters. The plugin uses the WordPress user ID as the external_id for account linking. Benefits include seamless user access and group management via SSO payload parameters, while drawbacks include the loss of social logins and the inability to use the ‘invite only’ setting on Discourse. simon also notes that group memberships and other data can be synced in the background, with further details available in Discourse meta guides.
I’m considering the WP-Discourse plugin to integrate my WP site with Discourse, but would be interested in understanding a bit better what the benefits and costs are. What do you lose exactly when you turn on SSO in terms of discourse functionality, and what do you gain? How are the WP and Discourse accounts linked? For example, can the user profile info like picture, username, email address, “about me” and location be shared across both platforms?
Thanks for any guidance. I’d love to be directed also any good examples of the wp-discourse plugin in action, with and without SSO.