/spring-boot-multitenant-sample

Spring Boot multi-tenant sample app

Primary LanguageJavaApache License 2.0Apache-2.0

Spring Boot multi-tenant sample app

This sample app uses the Spring Boot starter library from Quantics which contains all the configuration options that are required to build a multi-tenant Spring Boot application.

There are two working examples in this repo which can be activated via Spring profiles:

Spring Profile Tenant resolution mode
default Header (using custom HTTP header)
prod JWT (using OAuth2 issuer claim)

The code in this repository accompanies the following blog posts: