Skip to content

Comments

feat: ldap api connection test and sync endpoints#659

Merged
LeadcodeDev merged 3 commits intomainfrom
643-ldap-api---connection-test-and-sync-endpoints
Jan 16, 2026
Merged

feat: ldap api connection test and sync endpoints#659
LeadcodeDev merged 3 commits intomainfrom
643-ldap-api---connection-test-and-sync-endpoints

Conversation

@NathaelB
Copy link
Member

No description provided.

Wire the user repository through ApplicationService and the
FederationServiceImpl. Add list_mappings_by_provider to the repository
implementation. Extend federation sync with LDAP user sync logic, richer
SyncResult and SyncError types, external_id attribute handling, base64
decoding, and improved logging.
Add TestConnectionResponse DTO and From conversion. Implement POST
/federation/providers/{id}/test-connection handler, route and utoipa
docs and wire it to the federation service.

Update frontend API client and add useTestUserFederationConnection
mutation. Refactor LDAP create/detail pages to use a nested config
shape, parse connection URLs, base64-encode bind passwords on save,
decode for display, and add a test-connection action. Add confetti hook
and canvas-confetti deps and update components registry.
Add sync-users POST handler, route and OpenAPI docs plus
SyncUsersResponse DTO. Wire federation sync through application services
and repository (get_mapping_by_user_id). Extend SyncResult with
start/completion timestamps and map to DTO. Frontend: add useSyncUsers
mutation, invalidate provider queries and add sync UI/button. Security:
reject empty LDAP bind passwords. Add Federated credential variant in
credential entities.
@LeadcodeDev LeadcodeDev merged commit f01030a into main Jan 16, 2026
8 checks passed
@LeadcodeDev LeadcodeDev deleted the 643-ldap-api---connection-test-and-sync-endpoints branch January 16, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[LDAP] API - Connection test and sync endpoints

2 participants