8000
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wrong event error "user_disabled" when LDAP server is unavailable #55780
I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
ldap
Bug Description
Hello,
we are using Keycloak with LDAP backend for accounts and authentication.
When users are trying to connect to OIDC applications using this Keycloak and when the backend LDAP server is not available (down or network issue), whereas the account is not disabled nor attempts aren't enough to trigger disable, Keycloak records an event with :
type : LOGIN_ERROR
error : user_disabled
also, users get "user disabled" information when they try to authenticate leading to misleading resolution.
Is there a way to define the error type to more accurate reason and message ?
Version
26.9.2
Regression
The issue is a regression
Expected behavior
When LDAP server is not available event type and user message must be more accurate on the real cause or neutral message about authentication problem.
Actual behavior
When users are trying to connect to OIDC applications using this Keycloak and when the backend LDAP server is not available (down or network issue), whereas the account is not disabled nor attempts aren't enough to trigger disable, Keycloak records an event with :
type : LOGIN_ERROR
error : user_disabled
also, users get "user disabled" information when they try to authenticate leading to misleading resolution.
How to Reproduce?
Keycloak with LDAP federation for user accounts and authentication
Activity