Hello, I have a web API with jwtbearer config in startup.cs, and a controller action method with Authorize attribute. When client makes request to this endpoint of API, it does try to authorize, but how to get email and other info of the user explicitly in this api controller to further call database SPs?
Thank you for this informative video! Not your fault, but that's a lot of grunt work and overhead for something that should be simple. I wish they come up with a better way.
Best explained one question you are using postman and add token in header but if I want to use it from wpf client tahn how to send token request with each and every get and post request and where to store token detail in wpf app Thanks
with the Jwt token authorization, can we validate multiple client apps or it is light weight and can be good for single web app vs single api? Cosiderting OAuth when just using JWT token authorization make sense? .
In the Payload why do I need to add user name and the Id. Why should I keep them in another database? What I am trying to understand is what is the purpose of it, since the token going to get signed if the client is authorized but not to authenticate. My understanding is that the authenticate part should take care of the user name or any other user related information.
Im not sure I understand in payload the name and email and those 2 urls localhost? what if my apis are in azure what would I put? And we put anything in name and email?!?
the point of him pasting code was to shorten the video not for us viewers to do the same. no offense but typing it in is how we learn it, just copy/pasting all the time we learn nothing (been down that road myself) its already over 30 minutes long, if he would have typed in everything it would probably be over an hour which is a waste of resources and creator time. thats why RUclips has the pause button
You're a good teacher. This is educational. Thank you.
Thanks for this video, just completed first JWT auth application with help of your video.
😀😀
This is the best JWT AUTH explanation
Thanks your r my best instructor
Thank you for your kind words. Smash that red Subscribe button to stay updated with more videos like this!
Now that was fantastic. Detailed implementation 👍
Thanks a lot , Very very useful video ............ just i am searching now....
Very good, clear, detailed explanation and very simple to implement, thanks!
Thanks for helpful viedos
Very well step by step explained. I am clear now. Good work
Thank you. Please subscribe to support the channel and hot the Bell icon to stay notified of new content. 👍😄
Thanks for the info, very helpful
Excellent video. The explanation was clear and worked well!
Janab u have given best tutorial
Watch the video til the end to understand how to secure Web API in .NET Core using JWT Token
Hello, I have a web API with jwtbearer config in startup.cs, and a controller action method with Authorize attribute. When client makes request to this endpoint of API, it does try to authorize, but how to get email and other info of the user explicitly in this api controller to further call database SPs?
Great explanation, thanks!
Great video. Very well explained. Thanks!
Thanks! very clear and the point explanation!
Liked the video? Please subscribe to support the channel and hit the Bell icon to stay notified of new content 👍
Good explanation
Thank you for this informative video! Not your fault, but that's a lot of grunt work and overhead for something that should be simple. I wish they come up with a better way.
It helps me alot.. Thank you
Great video, Thanks alot!
Liked the video? Please subscribe to support the channel and hit the Bell icon to not miss the new content 👍
Best explained one question you are using postman and add token in header but if I want to use it from wpf client tahn how to send token request with each and every get and post request and where to store token detail in wpf app
Thanks
You explained this very well, thank you!
Thank you Ivan. Please subscribe to support the channel 🙏
with the Jwt token authorization, can we validate multiple client apps or it is light weight and can be good for single web app vs single api? Cosiderting OAuth when just using JWT token authorization make sense? .
You can validate multiple clients, you have to have valid issuer and audience
Thank you sir
In the Payload why do I need to add user name and the Id. Why should I keep them in another database? What I am trying to understand is what is the purpose of it, since the token going to get signed if the client is authorized but not to authenticate. My understanding is that the authenticate part should take care of the user name or any other user related information.
Im not sure I understand in payload the name and email and those 2 urls localhost? what if my apis are in azure what would I put? And we put anything in name and email?!?
Excellent
Can we enable multiple payloads ex: to enable API to be consumed by multiple applications ?
here we did it in single solution but ideally where exactly will we create jwt token and how we will pass the token while calling api within code ?
Thanks for great video kindly make a video on refresh token in jwt
Liked the video? Please subscribe to support the channel and hit the Bell icon to stay notified of new content 👍
Thanks... but can you share the source?
Great video but how do I invalidate the jwt token when a user logs out
How can we do same this using oAuth 2.0? I want this in App Registration.
from where should we copy the pasted code?
please provide code that you have pasted
Hi, where to get the source codes so we can also paste
the point of him pasting code was to shorten the video not for us viewers to do the same. no offense but typing it in is how we learn it, just copy/pasting all the time we learn nothing (been down that road myself) its already over 30 minutes long, if he would have typed in everything it would probably be over an hour which is a waste of resources and creator time. thats why RUclips has the pause button
every things is understood but code is not there
Great explanation, thanks!
Liked the video? Please subscribe to support the channel and hit the Bell icon to stay notified of new content 👍