Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account deactivation is not working if logged in using SSO #13310

Closed
bmarty opened this issue Apr 21, 2020 · 2 comments
Closed

Account deactivation is not working if logged in using SSO #13310

bmarty opened this issue Apr 21, 2020 · 2 comments
Labels

Comments

@bmarty
Copy link
Member

bmarty commented Apr 21, 2020

Step to reproduce:

  • Connect to mozilla.modular.im, using SSO (for instance)
  • Try to deactivate your account with any password (because you do not have password for your matrix account since its SSO) (settings/general/deactivate account)

This request is done:
/_matrix/client/r0/account/deactivate
with body

{"auth":{"type":"m.login.password","user":"@alice:mozilla.org","identifier":{"type":"m.id.user","user":"@alice:mozilla.org"},"password":"leakPassword"},"erase":false}

and get a 400 with body:

{"errcode":"M_UNKNOWN","error":"Password login has been disabled."}

UI Side, we got this:

image

I think the deactivation of the account should be disabled following the change password capability of the home server seems it's a bit related.

But we maybe should propose a way to deactivate the account anyway and to wipe out data if the user wants it to conform to GDPR directives.

@t3chguy
Copy link
Member

t3chguy commented Apr 21, 2020

Mozilla's Synapse doesn't yet support SSO for UIA.
matrix-org/synapse#5667 (comment) (waiting on matrix-org/synapse#6705)
Duplicate of #10847

@t3chguy t3chguy closed this as completed Apr 21, 2020
@bmarty
Copy link
Member Author

bmarty commented Apr 21, 2020

Also #12692 is a thing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants