[keycloak-user] Server to Server communication with Spring
Scott Rossillo
srossillo at smartling.com
Mon Apr 25 13:20:34 EDT 2016
Hi Christoph,
You may be interested in Keycloak’s Service Accounts functionality for your use case:
http://keycloak.github.io/docs/userguide/keycloak-server/html/service-accounts.html
Best,
Scott
Scott Rossillo
Smartling | Senior Software Engineer
srossillo at smartling.com
> On Apr 25, 2016, at 10:11 AM, Christoph Guse <info at flex-guse.de> wrote:
>
> Hi everybody,
>
> I'm quite new to Keycloak and currently I'm creating some POCs to test
> if Keycloak works properly with my Spring Boot applications. It does
> quite well so far, thanks a lot for your work!
>
> At the moment I'd like to create a POC which simulates the secured
> server-to-server communication. One server provides an API secured by
> spring-security an Keycloak, the other server needs to consume the
> secured API using a technical user. I searched the web and the
> documentation and found this blog entry:
> http://blog.keycloak.org/2015/10/getting-started-with-keycloak-securing.html <http://blog.keycloak.org/2015/10/getting-started-with-keycloak-securing.html>
> and I think I understood it so far.
> Is there already some code implemented to automate "Obtain Token and
> Invoke Service" somehow? I would like to use the KeycloakRestTemplate,
> give the credentials (maybe as username/password) and I'm ready to go.
>
> I had a running example, but in this example the user needed to
> authenticate him-/herself via the Keycloak redirect, but in my usecase
> only server communicate and there is no user who gives the credentials.
>
> Any help is highly appreciated,
> Christoph
>
>
> --
> Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet._______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160425/2669b736/attachment-0001.html
More information about the keycloak-user
mailing list