Secure Your .NET API in 15 Minutes: JWT Authentication Tutorial

Опубликовано: 30 Август 2024
на канале: Milan Jovanović
41,100
1k

Get the source code for this video for FREE → https://the-dotnet-weekly.kit.com/sec...
Want to master Clean Architecture? Go here: https://bit.ly/3PupkOJ
Want to unlock Modular Monoliths? Go here: https://bit.ly/3SXlzSt
Join a community of 1000+ .NET developers:   / milanjovanovic  

Learn how to implement secure authentication in your .NET applications using JSON Web Tokens (JWTs). This updated tutorial covers the latest features and best practices for .NET 8.

In this video, you'll discover:

What JWTs are and why they're useful for authentication
How to generate JWTs in .NET 8 using built-in libraries
Implementing token-based authentication in your API
Securing your endpoints with authorization policies
Best practices for JWT handling and security

Whether you're new to JWTs or looking to update your existing authentication system, this tutorial will give you the knowledge to implement robust, token-based auth in your .NET projects.

Check out my courses:
https://www.milanjovanovic.tech/courses

Read my Blog here:
https://www.milanjovanovic.tech/blog

Join my weekly .NET newsletter:
https://www.milanjovanovic.tech

Chapters
0:00 What Is a JWT?
1:14 Building the JWT Token Provider
6:08 Using the TokenProvider
7:09 Examining the JWT we created
8:31 Configuring JWT Authentication
10:53 Authentication vs. Authorization
12:11 JWT Authentication with Swagger


Смотрите видео Secure Your .NET API in 15 Minutes: JWT Authentication Tutorial онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Milan Jovanović 30 Август 2024. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 41,100 раз и оно понравилось 1 тысяч посетителям.