matrix-org / matrix-authentication-service

OAuth2.0 + OpenID Provider for Matrix Homeservers
https://matrix-org.github.io/matrix-authentication-service/
Apache License 2.0
112 stars 32 forks source link

We allow the same email address to be attached to multiple accounts, but Synapse won't let us #2881

Open sandhose opened 3 months ago

sandhose commented 3 months ago

In MAS we do allow multiple accounts to have the same email address. This is intentional, as we don't really use email addresses as identifiers, and avoids people enumerating other users emails.

However, when we sync those users with Synapse, we may have a problem, as Synapse has a unique index on email addresses, so syncing some users may fail.

matrixbot commented 3 weeks ago

For your information, this issue has been copied over to the Element fork of matrix-authentication-service: https://github.com/element-hq/matrix-authentication-service/issues/2881