Support automatic user deletion after removal from Identity Provider
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Proposal
At the moment, whenever a user is removed from their corresponding Identity Provider (e.g. Azure AD, SAML, etc) users are not automatically deleted in GitLab. While some providers like SAML allows user de-provisioning using SCIM, this will only "deactivate" the user account and block their access. Their GitLab account would continue to persist in the instance. We should allow some automatic mechanism or gitlab.rb setting to allow hard deleting of user accounts.
Workaround
Users can write up their own automation and leverage the Users API to delete user accounts as part of their workflow.
Edited by 🤖 GitLab Bot 🤖