auth0-aspnetcore-api

auth0-aspnetcore-api

Use when protecting ASP.NET Core Web API endpoints with JWT Bearer token validation, scope checks, or DPoP binding. Integrates Auth0.AspNetCore.Authentication.Api for stateless REST APIs receiving access tokens from frontends or mobile apps.

52stars
28forks
Updated 10/2/2026
SKILL.md
read-only
name
auth0-aspnetcore-api
description

Use when protecting ASP.NET Core Web API endpoints with JWT Bearer token validation, scope checks, or DPoP binding. Integrates Auth0.AspNetCore.Authentication.Api for stateless REST APIs receiving access tokens from frontends or mobile apps.

Auth0 ASP.NET Core Web API Integration

Protect ASP.NET Core Web API endpoints with JWT access token validation using Auth0.AspNetCore.Authentication.Api.

Prerequisites

  • .NET 8.0 SDK or higher

  • Auth0 API configured (not Application - must be API resource)

  • If you don't have Auth0 set up yet, use the auth0-quickstart skill first

When NOT to Use

  • Server-rendered web applications - Use session-based auth (Auth0.AspNetCore.Authentication) for MVC/Razor Pages apps

  • Single Page Applications - Use auth0-react, auth0-vue, or auth0-angular for client-side auth

  • Mobile applications - Use auth0-react-native for React Native/Expo

  • Blazor WebAssembly - Requires different auth approach (OIDC client-side)