By affolternet
Claude Code skills for affolterNET.Web.Bff - Cookie-based OIDC authentication with YARP reverse proxy and SPA integration
Configure RPT token exchange and permission-based authorization for affolterNET.Web.Bff. Use when setting up Keycloak permissions, resource policies, or fine-grained access control.
Configure security headers, CORS, antiforgery, and the IConfigurableOptions pattern for affolterNET.Web.Bff. Use when setting up CSP, HSTS, CSRF protection, or custom options.
Configure SPA integration for affolterNET.Web.Bff. Use when setting up Vue/React/Angular apps, handling 401 responses, static files, or SPA fallback routing.
Configure affolterNET.Web.Bff service registration and middleware pipeline. Use when setting up AddBffServices, ConfigureBffApp, or configuring the BFF middleware order.
Configure middleware extension hooks for affolterNET.Web.Bff. Use when adding custom middleware, extending the pipeline, or integrating third-party components.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
This library collection provides flexible authentication and authorization modes for ASP.NET Core applications with YARP reverse proxy integration.
# Core package (required)
dotnet add package affolterNET.Web.Core
# For API authentication
dotnet add package affolterNET.Web.Api
# For BFF (Backend-for-Frontend) with YARP
dotnet add package affolterNET.Web.Bff
This library includes Claude Code plugins for AI-assisted configuration. The plugins provide contextual guidance for service registration, authentication setup, YARP configuration, and more.
# Add the marketplace
/plugin marketplace add https://github.com/affolterNET/affolterNET.Web
# Install for BFF applications
/plugin install [email protected]
# Install for API applications
/plugin install [email protected]
BFF Plugin:
bff-setup - Service registration and middleware pipelinekeycloak-auth - Cookie-based OIDC authenticationyarp-proxy - YARP reverse proxy configurationspa-integration - SPA fallback and 401 handlingrpt-permissions - Permission-based authorizationsecurity - Headers, CORS, and antiforgeryswagger - OpenAPI documentationcustomization - Middleware extension hooksAPI Plugin:
api-setup - Service registration and middlewarejwt-auth - JWT Bearer authenticationsecurity - Headers and CORSswagger - OpenAPI documentationhealth-checks - Health check endpointsUse the provided script to build and test packages locally:
# Build, test, and pack version 1.0.0
./manage-packages.sh 1.0.0
# Only build
./manage-packages.sh 1.0.0 build
# Only pack packages
./manage-packages.sh 1.0.0 pack
# Publish to local NuGet source for testing
./manage-packages.sh 1.0.0 publish-local
The repository includes GitHub Actions workflows for:
To publish to NuGet.org:
NUGET_API_KEY to repository secretsv1.0.0)This library provides flexible authentication and authorization modes for ASP.NET Core applications with YARP reverse proxy integration.
┌─────────────────────────────────────────────────────────────────────────────────┐
│ AUTHENTICATION MODES │
└─────────────────────────────────────────────────────────────────────────────────┘
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────────────────────────┐
│ NONE │ │ AUTHENTICATE │ │ AUTHORIZE │
│ │ │ (LOGIN) │ │ │
│ Anonymous │ │ Login Required │ │ Login + Permission Claims Required │
│ Access │ │ No Permissions │ │ Fine-grained Access Control │
└─────────────────┘ └─────────────────┘ └─────────────────────────────────────┘
npx claudepluginhub affolternet/affolternet.web --plugin affolternet-web-bffClaude Code skills for affolterNET.Web.Api - JWT Bearer authentication with Keycloak integration for ASP.NET Core APIs
Keycloak administration and Keycloak.AuthServices .NET library development skills
Duende Software ecosystem plugin with documentation management for IdentityServer, BFF, Access Token Management, IdentityModel, and OidcClient
Build authentication systems with JWT, OAuth2, and API keys
Authentication and security specialist for JWT implementation, OAuth2 flows, refresh tokens, session management, password hashing (bcrypt, argon2), 2FA, SSO, and security best practices. Use when implementing authentication, authorization, or security features.
Secure API authentication with JWT, OAuth 2.0, API keys. Use for authentication systems, third-party integrations, service-to-service communication, or encountering token management, security headers, auth flow errors.
Auth0 skills for quickstarts, migration, MFA, branding, custom domains, Advanced Custom Universal Login (ACUL) screen generation, and framework-specific SDK integrations for React, Next.js, Vue, Nuxt, Angular, Express, Fastify, FastAPI, Flask, Go, Spring Boot, Java MVC, Swift, Android, ASP.NET Core, React Native, Expo, Ionic React (Capacitor), Ionic Angular (Capacitor), and Ionic Vue (Capacitor).