Created LDAP Federation Component programatically But Not Visible in realm's UI

81 views
Skip to first unread message

m mu

unread,
Sep 17, 2025, 1:30:16 PM (8 days ago) Sep 17
to Keycloak User

Hello, I'm trying to create LDAP user federation connection programmatically but I'm having issues with having it display in Keycloak UI.

Situation:

  • I create the component correctly because I receive a success (HTTP 200) response and the component ID
  • The same LDAP configuration works perfectly when I create the LDAP manually through the Keycloak UI
  • However, programmatically created user federation components don't appear in the User Federation section of the Keycloak UI

Details:

  • Using REST API POST to /admin/realms/{realm}/components
  • LDAP connection details are valid (tested manually)

What I've Tried:

  • Reloading the Keycloak UI page
  • Browser cache clearing and different browsers

Can someone help me out? Thank you!

Can someone help me out? Thank you :)

Reply all
Reply to author
Forward
0 new messages