Skip to content

Demo project for keycloak integration as an authorisation server in a spring boot resource server and client with rbac and scopes authorisation based on spring security + Docker

Notifications You must be signed in to change notification settings

GilbertHofstaetter/spring-boot-oauth2-resource-server-client

Repository files navigation

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:

About

Demo project for keycloak integration as an authorisation server in a spring boot resource server and client with rbac and scopes authorisation based on spring security + Docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published