-
I'm currently evaluating authentik for my project. I want to manage users in authentik, but obviously my main application stores user data. If an account is deleted in authentic, the user data in the application must be deleted as well. Does authentik support this? I think a simple way would be to call a webhook whenever a user is deleted. The documentation on event transports with webhook isn't very clear on whether the data that is sent to the hook can be used for my use case. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Yeah you can use the event system to do this, on the |
Beta Was this translation helpful? Give feedback.
Yeah you can use the event system to do this, on the
model_deleted
event for the modeluser
in the appauthentik_core
, send a request. This blog post has a bit bigger of an example on how to send webhooks from event policies: https://beryju.io/blog/2022-05-authentik-vault/