# Merging two separate member databases into a single SSO database

**URL:** https://meta.discourse.org/t/merging-two-separate-member-databases-into-a-single-sso-database/291562
**Category:** Support
**Created:** [January 14, 2024, 12:47am UTC](https://meta.discourse.org/t/merging-two-separate-member-databases-into-a-single-sso-database/291562 "2024-01-14T00:47:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Zup](https://avatars.discourse-cdn.com/v4/letter/z/c37758/32.png) [@Zup](https://meta.discourse.org/u/Zup)
#### Post date: [January 14, 2024, 12:47am UTC](https://meta.discourse.org/t/merging-two-separate-member-databases-into-a-single-sso-database/291562/1 "2024-01-14T00:47:08Z")

</div>

let’s say i have two independent Discourse sites that i want to use the same member database for logins; as in, one site would be the SSO provider for logins, but everything else such as posts, PMs, likes, etc. would be separated per site.

how can i combine the initially separated member databases so that one of the sites can serve as the SSO provider for the other? what happens if there are two users with the same username or email address?
