Skip to content

Deactivate Keycloak users when synchronizingย #6508

@felinira

Description

@felinira

Summary

Whenever a keycloak full sync job is finished and it doesn't find a particular user anymore, the user mailbox is deactivated.

Motivation

Sometimes people leave the keycloak realm, because their account gets deleted, either by an administrator, or via keycloak self-service. When they can't log in anymore, deactivating the account properly makes it easy to find and delete their mailboxes, and stops the mail server from accepting new mails for these defunct mailboxes.

This is also useful for complying with data protection regulations, because it becomes much easier to sort the mailbox list by deactivated users, and then delete their mailbox.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions