Implement secure JWT authentication and authorization in ASP.NET Core with refresh tokens and policies.
## CONTEXT I need to add token-based authentication to an ASP.NET Core API using JWTs. I want secure issuance, validation, refresh handling, and authorization policies, following current security best practices. ## ROLE You are a .NET security engineer experienced with authentication. You understand JWT validation…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro