Coding Shorts: Simplified Configuration for JWT Bearer Auth in .NET 7

  Рет қаралды 15,498

Shawn Wildermuth

Shawn Wildermuth

Күн бұрын

Пікірлер: 65
@HuyNguyen-dv7el
@HuyNguyen-dv7el Жыл бұрын
I dont comment alot, but this type of simple teaching is golden. Please keep these things coming! Thank you!
@swildermuth
@swildermuth Жыл бұрын
Glad you like them!
@vasiliskarvelas5488
@vasiliskarvelas5488 Жыл бұрын
I watched a couple of videos on JWT, but your explanation! wow!!
@jayveecruz9377
@jayveecruz9377 Жыл бұрын
Thanks Shawn for putting this out. Straightforward and quality content.
@jamesbest2221
@jamesbest2221 2 жыл бұрын
This is great! Thank you! Please do a more on JWTs, including claims if possible. Cheers!
@swildermuth
@swildermuth 2 жыл бұрын
More to come!
@eclipsetutorialvideo
@eclipsetutorialvideo Жыл бұрын
Hope you are doing better now Shawn, thanks for the video
@NecquiTeja
@NecquiTeja Жыл бұрын
Wow Shawn...this is awesome. You kept it so simple. Thank you!
@tplummer217
@tplummer217 11 ай бұрын
Great teaching style. Thank you.
@Dimich1993
@Dimich1993 Жыл бұрын
Great information! JWTs and Auth are a bit of pain...
@swildermuth
@swildermuth Жыл бұрын
Glad you liked it.
@dsheardown
@dsheardown 2 жыл бұрын
Yes! You heard me! Thank you Mr Shawn!
@swildermuth
@swildermuth Жыл бұрын
What did you say?
@dsheardown
@dsheardown Жыл бұрын
@@swildermuth Sorry, missed this comment ;) Well, I think I mentioned here and there on twitter/coding shorts about how, for whatever reason!, I seemed to really struggle with this whole authentication/authorisation (or authorization!) thing - especially with JWT! I managed to implement an Azure function using API management hooked up to Azure AD B2C, but of course most of that Azure was doing! Thanks so much for this and all of your course/videos/blog posts.. helps so much an aging dev! This one specifically, with the new .NET 7 JWT is brilliant! Hope you had a nice Christmas/holiday, and have a great new 2023!
@Rhysling2
@Rhysling2 2 жыл бұрын
Excellent tutorial. I would not have known about this improvement - including the dev token generating tool. Thank you!
@swildermuth
@swildermuth 2 жыл бұрын
Glad it was helpful!
@hosannaliving
@hosannaliving Жыл бұрын
Thanks, love it! So much simplier. You're an excellent teacher.
@JulianRiverplate14
@JulianRiverplate14 6 ай бұрын
Amazing content! keep going, this videos are pretty helpful
@swildermuth
@swildermuth 6 ай бұрын
Glad you like them!
@RayGarza-sr3zj
@RayGarza-sr3zj Жыл бұрын
Whoa, i’ve been struggling with JWT and this answers all my questions that I know to ask! Many thanks and a new subscriber.
@swildermuth
@swildermuth Жыл бұрын
Glad it was helpful!
@mraysmit
@mraysmit Жыл бұрын
Excellent, thank you! Please keep these Coding Shorts coming!
@swildermuth
@swildermuth Жыл бұрын
Will do my best. Thanks!
@d-landjs
@d-landjs Жыл бұрын
Excellent mister!
@abdulnaveed4984
@abdulnaveed4984 Жыл бұрын
Thank you so much , your videos really helping us, you are awesome teacher , My God bless you with good health
@swildermuth
@swildermuth Жыл бұрын
Glad to hear it.
@alaamamdouh1452
@alaamamdouh1452 Жыл бұрын
great and simple explenation thank you
@eric1500b
@eric1500b Жыл бұрын
This is great! Thank you Shawn!!!
@swildermuth
@swildermuth Жыл бұрын
You bet!
@manikandanmurugesan1885
@manikandanmurugesan1885 Жыл бұрын
Really great video!! Thanks a lot. Enjoying and learning a lot from your videos.
@pablo1beroiza
@pablo1beroiza Жыл бұрын
Excellent @swildermuth!!!!
@swildermuth
@swildermuth Жыл бұрын
Glad it helped.
@officemishler3364
@officemishler3364 Жыл бұрын
Great video Shawn!
@arsikistibaev5798
@arsikistibaev5798 Жыл бұрын
Awesome 😮
@robdevoer1
@robdevoer1 Жыл бұрын
Another interesting session by Shawn! Thanks. Where did you discover some of those new tidbits about the way that NET7 seeds and handles authentication? I seem to somehow have missed any comment about those.
@swildermuth
@swildermuth Жыл бұрын
I read the release notes carefully. But that doesn't always work. Sometimes I find out from questions or new code posted on GitHub.
@robdevoer1
@robdevoer1 Жыл бұрын
@@swildermuth Thank you, really appreciated.
@elsrajsolutions
@elsrajsolutions Жыл бұрын
thnx but why user-jwts always create token with the first configuration even when I change them
@swildermuth
@swildermuth Жыл бұрын
What do you mean by "the first configuration"?
@GregorBiswanger
@GregorBiswanger 2 жыл бұрын
I also find the new feature sexy, but I don't understand the real added value. I would also like to create a token in the code with almost zero configuration and not with the .NET CLI tool. I couldn't find anything about this, except for having to create an extensive configuration the previous way. You might have a great solution for this?
@swildermuth
@swildermuth Жыл бұрын
The value of the tool is to allow development before wiring it up to a JWT generator (self-written, or off the shelf like Auth0 or Azure AD)
@BoatDawg
@BoatDawg Жыл бұрын
Excellent!
@seanlawton7681
@seanlawton7681 Жыл бұрын
great video, thank you
@swildermuth
@swildermuth Жыл бұрын
Glad it helped
@romeoborja3316
@romeoborja3316 Жыл бұрын
Thanks!
@alexlo5655
@alexlo5655 Жыл бұрын
Thank you for publishing. Do u have the source code for this video on a GitHub?
@swildermuth
@swildermuth Жыл бұрын
Yes I have: github.com/shawnwildermuth/codingshorts/tree/main/JwtInSeven
@alexlo5655
@alexlo5655 Жыл бұрын
@@swildermuth Thank u very much. But how are you doing signature validation?
@jmooreweb
@jmooreweb 2 жыл бұрын
Thank you Shawn!
@swildermuth
@swildermuth Жыл бұрын
You're very welcome.
@johns4651
@johns4651 2 жыл бұрын
Very useful info, thank you!
@swildermuth
@swildermuth Жыл бұрын
You're welcome!
@kralickomut3148
@kralickomut3148 5 ай бұрын
Really cool, thank you sir! But with this method, how can i send token via api endpoint?
@swildermuth
@swildermuth 5 ай бұрын
You send it as a bearer token in an http header
@kralickomut3148
@kralickomut3148 5 ай бұрын
@@swildermuth yeah, but i mean, you did command to console, and it blew up new bearer jtw in the console, but how to get it in variable and work with that if you understand me. Sorry if its weird question.. Im a begginner.
@bahtiyarozdere9303
@bahtiyarozdere9303 Жыл бұрын
Thanks for the tutorial. Can I ask how do you get autocomplete on terminal?
@swildermuth
@swildermuth Жыл бұрын
Are you using Powershell Core? I didn't do anything to enable it.
@dcuccia
@dcuccia 2 жыл бұрын
Great tutorial! Using this framework, how would we produce and validate tokens in production?
@swildermuth
@swildermuth 2 жыл бұрын
Lots of ways actually. If you want to manage them yourself, I have a pluralsight course that shows you how. But most people use third party providers like Azure AD or Auth0.
@dcuccia
@dcuccia 2 жыл бұрын
@@swildermuth thanks, I'll check out your course!
@clarkflavor
@clarkflavor Жыл бұрын
@rd_45
@rd_45 Жыл бұрын
Thanks
@swildermuth
@swildermuth Жыл бұрын
No problem
@nebular1688
@nebular1688 Жыл бұрын
you are so cute with vscode terminal
@swildermuth
@swildermuth Жыл бұрын
VIM user?
Shawn's Rants - Episode 9: On Support Terms for Open Source Projects
13:48
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 61 МЛН
Thank you Santa
00:13
Nadir Show
Рет қаралды 48 МЛН
Coding Shorts: C# Dialects and Idioms
19:13
Shawn Wildermuth
Рет қаралды 3,5 М.
How To Implement API Key Authentication In ASP.NET Core
17:13
Milan Jovanović
Рет қаралды 35 М.
Coding Shorts #102: Using SQL Server Containers for Dev
11:00
Shawn Wildermuth
Рет қаралды 3,2 М.
Creating .Net Core Microservices using Clean Architecture
26:02
Rahul Sahay
Рет қаралды 22 М.
"Stop Using Automapper in .NET!" - Code Cop #001
9:57
Nick Chapsas
Рет қаралды 116 М.
Coding Shorts: Making Sense of Stack vs. Heap
5:33
Shawn Wildermuth
Рет қаралды 2 М.
Coding Shorts 109: The Magic of docker commit
8:04
Shawn Wildermuth
Рет қаралды 1,6 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 29 МЛН
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 61 МЛН