Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: handle user export errors gracefully (#63) #66

Conversation

MarcScheib
Copy link
Contributor

The user export fails if a component like LDAP provider is registered. In that case, Keycloak tries to connect to LDAP to request user info. However, if this connection can't be established, the user export fails and the complete export process itself stops.

This fixes the user export by catching potential errors. It logs the error and continues with the remaining process.

The user export fails if a component like LDAP provider is
registered. In that case, Keycloak tries to connect to LDAP
to request user info. However, if this connection can't
be established, the user export fails and the complete export
process itself stops.

This fixes the user export by catching potential errors. It logs
the error and continues with the remaining process.
@MarcScheib MarcScheib linked an issue May 27, 2024 that may be closed by this pull request
@MarcScheib MarcScheib merged commit f720340 into develop May 27, 2024
1 check passed
@MarcScheib MarcScheib deleted the 63-export-fails-at-user-export-with-eg-incomplete-ldap-config branch May 27, 2024 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Export fails at user export with e.g. incomplete LDAP config
1 participant