# Merging existing Discourse and WP user lists

**URL:** https://meta.discourse.org/t/merging-existing-discourse-and-wp-user-lists/115334
**Category:** WordPress
**Created:** [17.Апрель.2019 18:25:27 UTC](https://meta.discourse.org/t/merging-existing-discourse-and-wp-user-lists/115334 "2019-04-17T18:25:27Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [17.Апрель.2019 18:49:02 UTC](https://meta.discourse.org/t/merging-existing-discourse-and-wp-user-lists/115334/2 "2019-04-17T18:49:02Z")

</div>

For existing users on WordPress who do not yet have an account on Discourse, they will be able to login to Discourse without any issue.

For existing users on Discourse who do not yet have an account on WordPress, they will need to create a WordPress account so that they can login to Discourse with SSO. If they create a WordPress account using the same email address that they use on Discourse, they _should_ be able to login to their existing Discourse account. If you are not using the default WordPress registration system, there will be a problem when users with existing Discourse accounts initially try to login from WordPress. If this is the case, there are a few ways it can be sorted out. For reference, if you are using the default WordPress registration system, registration will look something like this:

 ![55%20AM](https://global.discourse-cdn.com/meta/original/3X/8/8/88da52c56aa2ece5fa305aa2528bd22b5aa5d742.png)

If this is not the way users are registering, the issue is that the [WP Discourse](https://github.com/discourse/wp-discourse) plugin has no way of knowing that users email addresses are valid, so it sends a `require_activation` parameter with the SSO payload. When `require_activation` is set to `true`, Discourse will not match existing users by their email address.

Users who had accounts on both WordPress and Discourse prior to your having enabled the [WP Discourse](https://github.com/discourse/wp-discourse) plugin will be able to login to Discourse via WordPress without issues. If they have used the same email address on WordPress and Discourse, they will be logged into their existing Discourse account. If they are using different email addresses on the two systems, a new Discourse account will be created based on the user’s WordPress email address.

---

_[View the full topic](https://meta.discourse.org/t/merging-existing-discourse-and-wp-user-lists/115334)._
