Keycloak is an open-source Identity and Access Management (IAM) solution.
This page explores how to use it in Spring Boot.
https://www.baeldung.com/spring-boot-keycloak
https://www.baeldung.com/keycloak-oauth2-openid-swagger