Search code examples
ldapkeycloakopenid-connectidp

Can Keycloak provide alternative authentication if LDAP is down


Let's say I want to have keycloak synced with the LDAP and use it as the source for authentication. (I've managed to do this already)

But is there a way to let the keycloak be itself the identity provider if, for some reason, the LDAP connection is down?


Solution

  • I managed to create a custom LDAP Storage Provider to do this.

    check How to create a custom UserStorageSPI on Keycloak