Spring Security: Multi Tenant support

Hello everyone,

I use the Spring Security adapter and and implemented a KeycloakConfigResolver like described in the documentation 2.1.18. Multi Tenancy. The deployment is resolved by the given path. Unfortunately org.keycloak.adapters.springsecurity.filter.KeycloakAuthenticationProcessingFilter.attemptAuthentication(HttpServletRequest, HttpServletResponse) tries to reolve the deployment by passing a request with the pass /sso/login. Therefore it’s not possible to distinguish based on the path.

Any ideas how to solve this?