Vaadin 24 and Keycloak integration

Hello, I wanted to share a repository I recently made, it involves OAuth2/OIDC authentication using Keycloak, I used Vaadin starter Hello World app for demonstration purposes. Hope it is useful to someone. Also if you have some suggestions and/or issues with it please let me know. vaadin-24-keycloak-example

6 Likes

Cool, there are some variants as well to check out:

I think the main takeaway from the first example is the functionality to map roles so that they are understood by Spring Security and useable via the @RequiresRole annotation.

1 Like