GUARD by FenixKit
GUARD
GUARD kit logo
.NET 8  ·  .NET 10  — same price

Guard · User · Auth
Roles · .NET

SPARK plus Keycloak JWT authentication. OIDC, role-based policies, OAuth2 PKCE in Swagger, and a pre-built realm — all working from the first docker compose up.

Use code FIRSTXPEOPLE for €15 off → €30

A carregar...

What’s inside.

MongoDBMongoDB.DriverKeycloakJwtBearerErrorOrDocker Compose.NET 8.NET 10

Keycloak JWT authentication

JWT Bearer configured via OIDC.

Role-based authorization

Two built-in policies: Authenticated (any valid JWT) and AdminOnly (admin realm role). Add .RequireAuthorization() to any route and go.

OAuth2 PKCE in Swagger

Authorize button in Swagger UI uses the full OAuth2 Authorization Code + PKCE flow. Log in with real Keycloak tokens directly from swagger.

Pre-built Keycloak realm

realm-export.json is imported automatically at container startup. Two test users ready (admin + user role). Zero manual configuration.

Structured 401 / 403 responses

Auth failures return RFC 7807 ProblemDetails JSON — not HTML error pages. Consistent error format across the entire API surface.

All SPARK features included

BaseRepository with 7 hooks, dual pagination, ErrorOr, health checks, Swagger, and Docker Compose — everything from SPARK, extended.

One-time payment. Yours forever.

Full source code, private docs, unlimited projects, entire team included.

45

or €30 with code FIRSTXPEOPLE

Secure checkout via Lemon Squeezy  ·  Instant delivery

Need cache too? See FLICK — Keycloak + Redis together →