Accounts made through OIDC have deactivation issues #2130
Labels
No labels
Abandoned
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
bob the builder
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity#2130
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
OIDC logins cannot be deactivated through the account management page. Using any password or no password at all gives an invalid password error.
Using the admin console/room to deactivate accounts works, but the same user can no longer create a new account, even if the option to choose a custom localpart is enabled.
I don't know what the best way to handle a deactivated user on a server with no custom localpart selection would be, though.
Have you tried
!admin oidc unlink?Yes, and it works, but the user isn't allowed to deactivate their account and unlink it from OIDC from the account management page by themselves.
It also doesn't work if the user signs up again with the same OIDC username and the server has OIDC username to localpart mapping enabled, but I guess that's probably expected?
A user can't unlink themself from their OIDC association. I'm not sure if it should be done upon deactivation. cc @Ginger
Reusing username of deactivated accounts is not supported in Matrix in general, hence automapping fails in this case