<div dir="ltr"><div>Hello,<br></div><div><br></div><div>just stumbled upon an (IMHO) interesting example for trusted service to service</div><div>communication with JWT.</div><div><div><br class="">Microservices with Spring Boot and Java JSON Web Tokens (JJWT)</div><div><a href="https://www.youtube.com/watch?v=saiwZzE5IYg">https://www.youtube.com/watch?v=saiwZzE5IYg</a></div></div><div><br></div><div>They use the JJWT (<a href="https://github.com/jwtk/jjwt">https://github.com/jwtk/jjwt</a>) library and and demonstrate how to use </div><div>the kid (Key ID) claim of JWT.</div><div>In order to establish trust between two services, public keys are exchanged to verify </div><div>each others JWT token signatures.</div><div>So instead of using a shared public key (e.g. Realm public key in Keycloak) they have a public key per service.</div><div><br></div><div>I wonder how this would look like with Keycloak.</div><div><br></div><div>Cheers,</div><div>Thomas</div></div>