JWT Authentication in ASP.NET Core Web API

JWT Authentication in ASP.NET Core Web API

AshProgHelp - Programming Help

4 года назад

77,650 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Mohit Kashyap
Mohit Kashyap - 02.03.2022 16:03

Nice tutorial, and great choice of music. By the way, music name please !!!!!

Ответить
Abu Raihan
Abu Raihan - 17.08.2021 12:21

Very easy Reali Vedio..

Ответить
System Admin
System Admin - 07.08.2021 05:05

very good tutorial, and nice selection of music since you didnt talk, some videos with annoying music is distracting, yours is fine. cheers

Ответить
navnath kharat
navnath kharat - 30.07.2021 08:28

Really nice and easy to understand and good explained without talking single keyword ..

Ответить
Santiago Renteria
Santiago Renteria - 11.06.2021 00:37

Friend do you have any video explaining dropdown list in cascade in blazor?

Ответить
Santiago Renteria
Santiago Renteria - 10.06.2021 18:36

Muy buen video, muchas gracias espero más videos así

Ответить
Tom Zink
Tom Zink - 27.05.2021 14:51

Thank you!

Ответить
Pankaj thapliyal
Pankaj thapliyal - 03.05.2021 18:17

Great Job

Ответить
Kaveen Madusanka
Kaveen Madusanka - 02.05.2021 18:33

Thank you very much

Ответить
Byron Vinicio Rea Manobanda
Byron Vinicio Rea Manobanda - 28.04.2021 03:16

hola como comparar el valor del username y el password los de la DB

Ответить
mohammad zarkasi
mohammad zarkasi - 15.04.2021 10:32

this is helped me, thank

Ответить
Vĩ Vũ Đức
Vĩ Vũ Đức - 24.03.2021 19:30

Thật hay!

Ответить
Meenal Bhoi
Meenal Bhoi - 12.03.2021 19:31

Great Really helped a lot

Ответить
C-Sharp Tricks
C-Sharp Tricks - 25.01.2021 22:21

thanks man, i got it in first attempt.
add to service,
add to configure services
create token if valid user
else
return unauthorized


thanks a lot man.
i got it as simple as i mentioned these steps.

Ответить
Trausti Thor Johannsson
Trausti Thor Johannsson - 20.01.2021 17:24

Fantastic video, and surprisingly the music kept me glued to the screen

Ответить
TechEnum
TechEnum - 18.12.2020 09:06

how can i save this json data to database?

Ответить
TechEnum
TechEnum - 16.12.2020 16:29

Thank you very much for the training. How can we show the incoming results on the screen?

Ответить
Vineet Yadav
Vineet Yadav - 07.12.2020 10:15

Awesome, So simple and so detailed. Not a single step is missing. But please add source code also.

Ответить
Zulhisham Tan 《秋河》
Zulhisham Tan 《秋河》 - 09.11.2020 08:46

Nice...not bored!
Easy to follow and understand.
Thank you very much.

Ответить
Zafi
Zafi - 24.10.2020 00:55

thanks a lot! its very good. but after a while, I started day dreaming because of the music

Ответить
MichaelP
MichaelP - 12.10.2020 19:00

Nice Tutorial. I was able to get this up and running without having to pause the video. Well done, in a good speed. As I'm a beginner in .net I just dont get why you do AddMvc.

Ответить
Martin Hogenauer
Martin Hogenauer - 16.09.2020 15:54

Hi. Thank you for video, it helped me a lot. BUT - there is one thing, it didn't work for me at the first attempt. When tested from PostMan, I was still getting 302 redirect, i.e. telling me, that I am not authenticated. I solved it by changing Authorize attribute to this: [Authorize(AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme)] . It is solved now, but why? How could it work for you without it?

Ответить
Nasir Ali
Nasir Ali - 15.09.2020 11:55

Realy Easy but you have not implement logout functionality. How I can logout ?

Ответить
Jose Fabian Benavides
Jose Fabian Benavides - 08.09.2020 01:18

Excellent tutorial! but, can I integrate this solution with Swagger?

Ответить
Marc Fernandez
Marc Fernandez - 28.08.2020 12:11

I cant use in cors policy allowanyorigins (The CORS protocol does not allow specifying a wildcard (any) origin and credentials at the same time) the authoritzation doesn't work for my :(

Ответить
iwan sumpena
iwan sumpena - 27.08.2020 06:37

yes it is easy to implement my code.

Ответить
Muhammad sameer khan
Muhammad sameer khan - 18.08.2020 14:13

awesome done but something is missing that is explaination xD

Ответить
Mayur Bodji
Mayur Bodji - 08.08.2020 13:56

Hey I am getting error in postman when i am trying to send request with your code.
I get Error : read ECONNERESET
-in postman console
Please help me out, if you can
Thanks

Ответить
Firat Shahverdiyev
Firat Shahverdiyev - 03.08.2020 19:24

hi . why you dont use refresh token ?

Ответить
Hour Thy
Hour Thy - 30.07.2020 05:19

Thank you for this course, How can i add multiple AddDbContext in Startup -> ConfigureServices and 2 Controllers which is getting data from difference database in SQLServer?
I already connected UserDB in UserDb and i would like to add another existing Database to show data after logged in. Please help me

Ответить
satvir kambo
satvir kambo - 26.07.2020 23:03

thanks so much for this wonderful tutorial. I had to change

var credentials = new SigningCredentials(securityKey, SecurityAlgorithms.Aes128CbcHmacSha256);

TO


var credentials = new SigningCredentials(securityKey, SecurityAlgorithms.HmacSha256Signature);

Ответить
BIDESI SAHOO
BIDESI SAHOO - 25.07.2020 08:03

hello sir, i am not able to authorize get and post method by jwt token. please check me out

Ответить
Panchal Varsha
Panchal Varsha - 23.07.2020 06:57

Hai ..
In my post method there is shown me 401 status and i m also added token in authorization..
Please help me out

Ответить
Marco Nagel
Marco Nagel - 18.07.2020 04:38

How to generate that key? my own key always says invalid

Ответить
Nageshwara Rao N
Nageshwara Rao N - 17.07.2020 12:30

Awesome presentation, keep up your good work.

Ответить
Rishi Tripathi
Rishi Tripathi - 08.07.2020 15:42

Bro try to demonstrate what you are doing instead putting background music...

Ответить
Alok Kumar
Alok Kumar - 07.07.2020 13:56

Very easily you did.. Thank you very much for this JWT concept.

Ответить
Алтанбагана Насанжаргал
Алтанбагана Насанжаргал - 29.06.2020 06:16

I copied every thing exactly I get token strings but [POST] /api/login/post with authorization token not working 401 Unauthorized result
why app.UseAuthentication(); not working?

Ответить
rao fahim
rao fahim - 25.06.2020 17:21

after adding the token from postman im still getting unauthorised status code. Can you please help me

Ответить
Roman Romaniv
Roman Romaniv - 19.06.2020 21:10

This is extremely useful video! Thanks a lot!

Ответить
akbar E-z
akbar E-z - 18.06.2020 07:48

thanks

Ответить
Sadullah DOĞAN
Sadullah DOĞAN - 14.06.2020 23:22

How do we send this token to api without Postman . I mean im using Soap api and ı need the authrozie every request how can i do it.

Ответить
Matias Gaudio
Matias Gaudio - 14.06.2020 07:04

Awful "tutorial".

Ответить
C C
C C - 14.06.2020 01:35

song name?

Ответить
fredy setiawan
fredy setiawan - 04.06.2020 07:51

Error: System.ArgumentOutOfRangeException The algorithm: 'HS256' requires the SecurityKey.KeySize to be greater than '128' bits

do please share this to github maybee make it easy your viewer knows

Ответить
Dimas Veliz
Dimas Veliz - 02.06.2020 03:45

This video is great to give us some insights, but, to y'all do NEVER EVER create a login using GET ...literally NEVER!! He did that just for demonstration purposes. Also, notice that this video is about Authorization,... Authentication is a whole different topic...

Ответить
Ziaullah Khan
Ziaullah Khan - 29.05.2020 17:24

I subsribed!

Ответить