The adapters are provided for full comparability with Keycloak. You don't have to use them. However, OpenID and OpenID Connect are not the sane thing. I've yet to see Spring publish an OpenID Connect security project.
If I'm wrong, please post a link to such project.
Even though both Spring Security and Spring Boot happen to support OpenId and OAuth2, an specific keycloak adapter in needed in order to configure them to work with the keycloak server. Also in Spring Security we need to provide the keycloak.json file with the client configuration._______________________________________________
If keycloak supports both standards shouldn't we be able to access it in a non-coupling way?
Thanks in advance
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user