Adapters are not mandatory. We tested out OpenID connect clients based on Apache Oltu against Keycloak. If you need something specific to Spring, look at the below

https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/tree/master/openid-connect-client





From: Amaeztu <amaeztu@tesicnor.com>
To: keycloak-user@lists.jboss.org
Sent: Wednesday, December 23, 2015 12:52 PM
Subject: Re: [keycloak-user] Why do I need to include an adapter to work with Spring Security or Spring Boot

OK, it seems that I was misunderstanding some concepts. So adapters seem to be mandatory till spring releases some module for openid-connect
Nire Sony Xperia™ telefonotik bidalita


---- Scott Rossillo igorleak idatzi du ----

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.


On Wed, Dec 23, 2015 at 6:07 AM Aritz Maeztu <amaeztu@tesicnor.com> wrote:
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
--
Aritz Maeztu Otaño
Departamento Desarrollo de Software
Pol. Ind. Mocholi. C/Rio Elorz, Nave 13E 31110 Noain (Navarra)
Telf.: 948 21 40 40
Fax.: 948 21 40 41
Antes de imprimir este e-mail piense bien si es necesario hacerlo: El medioambiente es cosa de todos.
_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user

_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user