Page MenuHomePhabricator

Discourse: Your Wikimedia email is associated with an existing account.
Closed, DeclinedPublic

Description

Trying to log into discourse-mediawiki (on mobile) results in an error message: Your Wikimedia email is associated with an existing account.
Presumably this is trying to say that my email is associated with a Discourse account that's already linked to a different Wikimedia account; but this seems like a fairly confusing way to put it. Also it would be nice if it told me what my options are.

Event Timeline

There are no active Discourse instances in Wikimedia currently (discourse-mediawiki.wmflabs.org has been made read-only).
Hence declining this task as log in should not be possible anymore.

This is a bug in discourse-wikimedia-auth (2b6910f8) where the email address is checked for uniqueness, but the query isn't filtered to the mediawiki provider, so users who have a user_associated_accounts entry from a different authentication provider with the same email address get locked out.