Back to Aspnetcore

Api Endpoint Auth

aspnetcore/includes/api-endpoint-auth.md

latest245 B
Original Source

[!IMPORTANT] Starting with ASP.NET Core 10, known API endpoints no longer redirect to login pages when using cookie authentication. Instead, they return 401/403 status codes. For details, see xref:security/authentication/api-endpoint-auth.