🐛 Bug Report: removed ldap users aren't deleted in pocket id #273

Closed
opened 2025-10-08 00:00:38 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @tupcakes on GitHub.

Originally assigned to: @kmendell on GitHub.

Reproduction steps

I noticed when deleting a user in ldap (using lldap) that the pocket id sync will not delete the user.

Expected behavior

I wasn't sure if this was intended, but it seems like deleting a user in ldap should remove from pocket id, or at least have a way in the pocket id gui to manually delete the user.

Actual Behavior

User was not deleted.

Version and Environment

0.44.0
Environment: k3s
Proxy: ingress-nginx

Log Output

This is the only event in the log related to the operation:
2025/03/27 19:43:43 Failed to delete user svcauthentik-sync with: LDAP users can't be updated

Originally created by @tupcakes on GitHub. Originally assigned to: @kmendell on GitHub. ### Reproduction steps I noticed when deleting a user in ldap (using lldap) that the pocket id sync will not delete the user. ### Expected behavior I wasn't sure if this was intended, but it seems like deleting a user in ldap should remove from pocket id, or at least have a way in the pocket id gui to manually delete the user. ### Actual Behavior User was not deleted. ### Version and Environment 0.44.0 Environment: k3s Proxy: ingress-nginx ### Log Output This is the only event in the log related to the operation: `2025/03/27 19:43:43 Failed to delete user svcauthentik-sync with: LDAP users can't be updated`
OVERLORD added the bug label 2025-10-08 00:00:38 +03:00
Author
Owner

@kmendell commented on GitHub:

@tupcakes Can you try this image ghcr.io/kmendell/pocket-id:delete-ldap-users and see if the issue is fixed?

@kmendell commented on GitHub: @tupcakes Can you try this image `ghcr.io/kmendell/pocket-id:delete-ldap-users` and see if the issue is fixed?
Author
Owner

@tupcakes commented on GitHub:

Seems to work. Nice! Thank you.

@tupcakes commented on GitHub: Seems to work. Nice! Thank you.
Author
Owner

@kmendell commented on GitHub:

Fixed in: 7e658276f0

@kmendell commented on GitHub: Fixed in: https://github.com/pocket-id/pocket-id/commit/7e658276f04d08a1f5117796e55d45e310204dab
Author
Owner

@kmendell commented on GitHub:

I'll take a look at this. Thank you for reporting!

@kmendell commented on GitHub: I'll take a look at this. Thank you for reporting!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id-pocket-id-1#273