Use Keycloak Spring Adapter with Spring Boot 3
You can’t use Keycloak adapters with spring-boot 3 for the reason you found, plus a few others related to transitive dependencies. As most Keycloak adapters were deprecated in early 2022, it is very likely that no update will be published to fix that. Directly use spring-security 6 libs for OAuth2 instead. Don’t panic, it’s an … Read more