ma1uta / ma1sd

Federated Matrix Identity Server (formerly fork of kamax/mxisd)
GNU Affero General Public License v3.0
167 stars 56 forks source link

Deactivating a user: Failed to remove threepid from ID server #2

Open killua-eu opened 5 years ago

killua-eu commented 5 years ago

Hi, I tried to deactivate a user with

curl -X POST 'https://matrix.xxx.xxx/_matrix/client/r0/admin/deactivate/%40someuser%3Amatrix.xxx.xxx?access_token=SOMETOKEN' --data '{}'

got

{
    "errcode": "M_UNKNOWN",
    "error": "Failed to remove threepid from ID server"
}

Is it me or is it ma1sd?

dklimpel commented 5 years ago

I had the same problem.

Workaround for me in my nginx configuration: location /_matrix/identity/api/v1/3pid/unbind { return 404; }

I found it here: https://github.com/kamax-matrix/mxisd/wiki/mxisd-and-your-privacy

ma1uta commented 5 years ago

I will investigate this issue.

mrjohnson22 commented 4 years ago

This might be fixed in ma1sd 2.2.0. With a self-hosted Riot Web (1.5.5), I just unbinded an email from my Matrix account on a self-hosted Synapse (1.6.1), and a notification email was sent. ma1sd logs also reported that the unbind request was authorized.

NullIsNot0 commented 1 year ago

If someone finds this in 2023 or later, for me adding location /_matrix/identity/v2/3pid/unbind { return 404; } to nginx config helped.