← Back
Milan Jovanovic October 19, 2025 37s

How I Secure My APIs with JWT and ASP.NET Core Identity

Summary

The transcript discusses creating JSON web tokens in ASP.NET Core identity, focusing on the process of generating secure authentication tokens. The key steps involve using the user manager to retrieve user details like email, password, and roles, and then creating a security token descriptor with specific parameters such as expiration, issuer, audience, and signing credentials. The practical takeaway is a step-by-step method for generating a JSON web token that can be returned from an API endpoint, providing a robust authentication mechanism for .NET applications.

View original episode ↗