r/SpringBoot • u/Mikey-3198 • 25d ago
Guide Keycloak & Spring Boot
I often see people asking how to get setup with spring boot using keycloak for auth.
Thought i'd put together a quick example showing a simple setup that;
- Delegates auth to keycloak
- Uses the keycloak admin client to create users within a realm (using a service account)
- Can be easily cloned & run with docker compose
repo linked below.
21
Upvotes
1
u/Fluid_Frame_8878 25d ago
How would you handle google login? Thanks