Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Deactivating user doesn't remove external IDs #14485

Closed
ptman opened this issue Nov 18, 2022 · 4 comments
Closed

Deactivating user doesn't remove external IDs #14485

ptman opened this issue Nov 18, 2022 · 4 comments

Comments

@ptman
Copy link
Contributor

ptman commented Nov 18, 2022

Description

After deactivating a user (and erasing user data) one cannot sign up a new user using the same account on the same OIDC provider because the external_user_id is still left. It needs to be removed as an extra step.

Steps to reproduce

  1. Sign up using e.g. google account
  2. Deactivate user
  3. Try to sign up again using the same google account

Homeserver

another homeserver

Synapse Version

1.68.0

Installation Method

Docker (matrixdotorg/synapse)

Platform

Ubuntu, matrix-docker-ansible-deploy

Relevant log output

this really doesn't involve log output

Anything else that would be useful to know?

Is this by design?

@clokep
Copy link
Member

clokep commented Nov 18, 2022

Is this by design?

Yes, usually if you deactivate a user you do not want that user (that human) on your system. So you don't want future logins to work with the same external login info.

@clokep clokep closed this as completed Nov 18, 2022
@clokep
Copy link
Member

clokep commented Nov 18, 2022

(That being said -- it is possible we should give steps of how to do this in the documentation?)

@ptman
Copy link
Contributor Author

ptman commented Nov 18, 2022

What about the user deactivating the account themselves?

@clokep
Copy link
Member

clokep commented Nov 30, 2022

Duplicate of #11072.

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

No branches or pull requests

2 participants