Getting Started

This repo is a sample using Keycloak on Spring Boot framework

Requirements:

  • Keycloak server 10.x
  • Spring boot 2.3.x

Function:

  • Use keycloak adapter with spring security
  • Load JWT token content to spring security context (username, role work fine)

Note:

  • Keycloak client must use RSA encryption for JWT signature

Reference Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely:

Additional Links

These additional references should also help you: