Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.27 KB

File metadata and controls

32 lines (19 loc) · 1.27 KB

spring-boot-oauth2-resource-server-client

Demo project for keycloak integration as an authorisation server in a spring boot resource server and client. Custom rbac and scopes authorisation based on spring security is implemented including OpenApi endpoint support.

See Turorial.pdf for further infos.
See Turorial Docker setup.pdf for further infos about running the project with Docker.

Build project

  • mvn clean install

Endpoints

Swagger-Ui

On February 2022 Keycloak announced the deprecation of its adapters, among other things the spring adapter https://www.keycloak.org/2022/02/adapter-deprecation. In my demo project I show how to integrate keycloak as an authorisation server in a spring boot project that serves as a client and a resource server based on spring security OAuth2.

Thanks to: