![I made a Keycloak edition of my .NET 8 Minimal API Starter Kit [Second release]](https://external-preview.redd.it/mr3vP1EDSLPPqtQYsB9yFkHqGGW_9giHC1Tv9Ri7-rI.png?width=1080&crop=smart&auto=webp&s=27ab4fc0c6e1897ccb1130e72601569fce19daa9)
I made a Keycloak edition of my .NET 8 Minimal API Starter Kit [Second release]
A few weeks ago I posted about my .NET 8 Minimal API Starter Kit (MongoDB). Today I'm launching the second edition — MongoDB + Keycloak.
It has everything from the first kit plus a fully pre-configured Keycloak authentication layer:
- JWT Bearer configured via OIDC
- Role-based authorization policies out of the box (
AuthenticatedandAdminOnly) - OAuth2 Authorization Code + PKCE flow wired into Swagger — there's an Authorize button that actually works with real Keycloak tokens
- Pre-built realm (
realm-export.json) imported automatically at container startup — two test users already created with different roles, zero manual Keycloak configuration needed - 401 and 403 return structured RFC 7807
ProblemDetails, not empty HTTP responses
docker compose up and the API, MongoDB, and Keycloak are all running.
Launch price is €45 — use code FIRSTXPEOPLE for €15 off.
Checkout more details at Github FenixKit
buy at fenixkit.dev