.NET Core 6 Web API - User Authentication with JSON Web Token (JWT) - Part 9

Опубликовано: 14 Октябрь 2024
на канале: BugArray
2,501
47

.NET Core 6 Web API - User Authentication with JSON Web Token (JWT)

In this series I will be walking through a step by step process to adding a JSON Web Token to your .NET Core 6 Web API , which will help with adding a level of security to our API .

What to Expect from the video :
1. You will know which package to install to use JWT in your .NET Core Web API 6 project
2. Coding a function that will create a JWT token
3. Modifying the Login function to return a JWT token when the user is authenticated
4. Showing you how to set up your Start up program to add JWT to your API
5. I will show you how to configure your project to have parameters needed to create your JWT Security Token
6. I will show you how to authorize an endpoint for only users with a valid token
7. I will show you error you might encounter when authorizing and endpoint and how to go about fixing them

Videos related to TODO APP :
1 . TODO HOME -    • Master Angular as You Build a Fully F...  
2. TODO LOGIN and Register -    • TODO APP - CREATING A LOGIN AND REGIS...  
3. TODO DATABASE -    • TODO APP - How to Create MS SQL Datab...  
4. TODO ADD and EDIT PAGE -    • TODO APP - ADD AND EDIT PAGE - FRONT-...  
5. Hashing Password -    • C# (.NET Core 6) - HOW TO HASH PASSWO...  
6. .NET Core 6 - Web API - User Authentication - Login and Registration Endpoints -    • .NET Core 6 - Web API - User Authenti...  

Packages you need to install :
Microsoft.AspNetCore.Authentication.JwtBearer

If you are new to the channel please don't forget to LIKE , SHARE and SUBSCRIBE

#backenddeveloper #netcore #postman