What problem does it solve?
Protects ASP.NET Core Web API routes from unauthorized access by validating JWTs, enforcing scopes, and ensuring the correct middleware order, which is essential for REST endpoints receiving access tokens from frontends or mobile clients.
Core Features & Use Cases
- JWT bearer validation: Auth0.AspNetCore.Authentication.Api verifies tokens against your tenant domain and audience without manual JWT parsing.
- Scope and authorization policies: Use .RequireAuthorization() or [Authorize] on controllers with integration guidance for scope enforcement and DPoP proof-of-possession binding.
- Guided setup workflow: Starts with API creation (manual or automated), configures appsettings and Program.cs, and shows minimal API plus controller examples for securing endpoints.
Quick Start
Ask the skill to configure Auth0.AspNetCore.Authentication.Api with your tenant domain and API audience so your ASP.NET Core app starts validating JWTs and protecting endpoints.