<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Christoph,<div class=""><br class=""></div><div class="">You may be interested in Keycloak’s Service Accounts functionality for your use case:</div><div class=""><a href="http://keycloak.github.io/docs/userguide/keycloak-server/html/service-accounts.html" class="">http://keycloak.github.io/docs/userguide/keycloak-server/html/service-accounts.html</a></div><div class=""><br class=""></div><div class="">Best,</div><div class="">Scott</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Scott Rossillo</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Smartling | Senior Software Engineer</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:srossillo@smartling.com" class="">srossillo@smartling.com</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
</div>
</div></div><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 25, 2016, at 10:11 AM, Christoph Guse <<a href="mailto:info@flex-guse.de" class="">info@flex-guse.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Hi everybody,<br class="">
<br class="">
I'm quite new to Keycloak and currently I'm creating some POCs to test <br class="">
if Keycloak works properly with my Spring Boot applications. It does <br class="">
quite well so far, thanks a lot for your work!<br class="">
<br class="">
At the moment I'd like to create a POC which simulates the secured <br class="">
server-to-server communication. One server provides an API secured by <br class="">
spring-security an Keycloak, the other server needs to consume the <br class="">
secured API using a technical user. I searched the web and the <br class="">
documentation and found this blog entry: <br class="">
<a href="http://blog.keycloak.org/2015/10/getting-started-with-keycloak-securing.html" class="">http://blog.keycloak.org/2015/10/getting-started-with-keycloak-securing.html</a> <br class="">
and I think I understood it so far.<br class="">
Is there already some code implemented to automate "Obtain Token and <br class="">
Invoke Service" somehow? I would like to use the KeycloakRestTemplate, <br class="">
give the credentials (maybe as username/password) and I'm ready to go.<br class="">
<br class="">
I had a running example, but in this example the user needed to <br class="">
authenticate him-/herself via the Keycloak redirect, but in my usecase <br class="">
only server communicate and there is no user who gives the credentials.<br class="">
<br class="">
Any help is highly appreciated,<br class="">
Christoph<br class="">
<br class="">
<br class="">
-- <br class="">
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet._______________________________________________<br class="">keycloak-user mailing list<br class=""><a href="mailto:keycloak-user@lists.jboss.org" class="">keycloak-user@lists.jboss.org</a><br class="">https://lists.jboss.org/mailman/listinfo/keycloak-user</div></blockquote></div><br class=""></div></body></html>