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.

52Star
28Fork
更新于 2026/10/2
请求的译文尚未完成,当前显示原始英文。
SKILL.md
只读
名称
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.

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)