1

I currently have an LDAP user federation provider and a custom UserStorageProvider spi I wrote to look into my sqlserver DB for user groups. To fully login I need to pass back the user groups to the application, so, they are part of the claims in the KeycloakSecurityContext token string.

Right now either my custom spi validates or the LDAP provider validates depending on the priority number I specify. Is there a way to force keycloak to validate first using the LDAP provider and then also execute the custom provider?

user1026498
  • 433
  • 2
  • 10
  • 22
  • But is not sufficient to rely on the priorities? I mean the priority for the LDAP should be lower than the one of the custom SPI and ldap will always run first – cristian.andrei.stan Aug 04 '21 at 11:04

0 Answers0