Skip to content
0:00 / 0:00

#jwt#asp.netcore#authentication

Upgrading to .NET Core: Adding JWT Authentication to Our API - A TimCo Retail Manager video

IAmTimCorey

441K subscribers • 15 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Tim Corey
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

79K views6 years ago2 recommendations

Web developmentSecurityHTTP, REST and GraphQLWeb and application security

Tim Corey demonstrates how to implement JWT authentication and Swagger in an ASP.NET Core API.

Authentication in ASP.NET Core API is different than in WebAPI. In this video, we are going to implement a JWT system so that our new API will send tokens like our old system did. We will also implement Swagger and make some other system improvements. ** TimCo source code now at: DevForge.com/courses/build-a-timco-retail-manager-app-series… Full Courses: DevForge.com Mailing List: signup.iamtimcorey.com/ One-off tutorials are awesome but they aren't the only thing you should be doing to learn C#. Another vital part of learning is learning how to put it all together. This interactive course is all about putting the pieces together. You can watch each video on its own or you can watch them in order and see a bigger picture. The choice is yours. This course focuses on real-world development. As such, we are simulating that we work for TimCo Enterprise Solutions on a brand new product, the TimCo Retail Manager. Just like in the real world, we are starting out with one set of requirements but know that over time they will change. - Intro and overview - Setting up JWT - Setting up the Authentication in Startup.cs - Swagger Implementation

Why it's here

2 people recommend this

What people say. Recommended as a straightforward guide to implementing custom JWT authentication in .NET Core.

u/freefora11in r/dotnet • Recommends

On “Why is Identity Server required for hosted Blazor WASM authentication?”

Here are a few videos on getting started with creating your own simple, but secure way of doing JWT in .Net Core 3: [video [video I don't have much experience with Identity Server so rolling out my own was pretty straight forward after these videos. From that, I created my own and turned it into my own library so now I don't have to worry about it again. I currently use this method in a production app.

u/Willinton06in r/dotnet • Recommends

On “session or token auth using ASP.NET Web API with custom authorization?”

Here you go: link to this video The part you want to see starts at 21:57

u/Fizzlyclawin r/dotnet • Mentions

On “[deleted by user]”

Interesting use case. Maybe look at JWT tokens instead? Again I'm no expert here but the apps would need their credentials stored, reach out to the Auth server to get their token, and then send the token with each request and renew whenever necessary? link to this video