- This project demonstrates a Backend-for-Frontend (BFF) pattern using Spring Boot 6 + Spring Security 6 + Keycloak + WebFlux Gateway.
- The Gateway acts as the login entry point, handles security, and proxies requests to the Todo Service.
- Gateway as Login Point (/oauth2/authorization/keycloak)
- Session-based token handling
- Routes requests to Todo Service (/todos/**)
- Simple HTML UI (index.html) for manual testing
- User clicks Login → redirected to Keycloak login page.
- After successful login → session created at Gateway.
- Requests to /todos/** are automatically forwarded with the token.
- User can Logout at /logout.
- Login / Logout buttons
- Paginated Todo table (with Edit/Delete actions)
- Create new todo
Update postgres db and oauth2 authorization server information in application.properties files of gateway and todo app.