ASP.NET Core Web API + Entity Framework Core : Basic Authentication Explained - EP07

ASP.NET Core Web API + Entity Framework Core : Basic Authentication Explained - EP07

54,802 Просмотров

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


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

@appa7164
@appa7164 - 21.09.2022 14:55

Thanks a lot for great session and whole series❤

Ответить
@mikedensem
@mikedensem - 30.07.2022 06:46

Just a thought: it may be less confusing if you refer to Base64 as an encoder rather than an encryptor.

Ответить
@sethisaacks8683
@sethisaacks8683 - 15.06.2022 04:34

Do you have an example of what the controller will pass back to the UI layer if it fails? Does it pass back an ActionResult or AuthenticateResult???

Ответить
@MrJimmaguire
@MrJimmaguire - 17.05.2022 19:01

Outstanding, thanks!

Ответить
@akshatagupta1041
@akshatagupta1041 - 27.04.2022 18:07

thank you so much for ur video

Ответить
@SleepyShores
@SleepyShores - 07.04.2022 00:02

Thank you for this, waiting to watch the series how to consume different APIs with simple to complex authentications! cheers!

Ответить
@namratamulwani4737
@namratamulwani4737 - 16.03.2022 09:27

How to save this login info of claim or ticket to keep user sign in like cookie

Ответить
@moumantimusicalmasti382
@moumantimusicalmasti382 - 05.03.2022 17:58

thanks for your explanation

Ответить
@namratamulwani4737
@namratamulwani4737 - 22.02.2022 15:36

Can you show role based authentication?

Ответить
@sachinjaiswal3242
@sachinjaiswal3242 - 09.01.2022 20:11

Some videos are missing in this tutorial

Ответить
@arshadvp711
@arshadvp711 - 13.09.2021 16:10

how will authenticate with identity framework and if the password is a hashed one ?

Ответить
@peymanx
@peymanx - 23.08.2021 08:31

Greatjob bro; keeeeeeeeeeeeep going

Ответить
@somebodyCEO
@somebodyCEO - 18.08.2021 17:09

Thank you so much for the time you put into this. It was clear, concise and straight to the point!

Ответить
@ayavuyaxokozela6553
@ayavuyaxokozela6553 - 04.08.2021 13:46

How did you change AuthenticationHeaderValue to be like a hyper link you said its verb or vague something?

Ответить
@DigitalElectronicSchool
@DigitalElectronicSchool - 13.04.2021 03:10

Thank you very much .. but I can't find BasicAuthenticationHandler.cs in the project

Ответить
@kintanumari8919
@kintanumari8919 - 23.03.2021 12:52

Wonderfull, i have a questions, how do i consume this API for login?

Ответить
@ajvenable7937
@ajvenable7937 - 17.03.2021 01:17

Very nice video!

Ответить
@Paczajec
@Paczajec - 12.03.2021 20:38

Very nice and informative video! Especially that I feel kinda lost surrounded by JWTs, Auth0s, etc.
I have a question tho: If I want to login to get the token, would it be sufficient to just send credentials (email, password), check if user exists and then combine those into a base64 string and return it in the response?

Ответить
@kkhunternn
@kkhunternn - 08.03.2021 14:47

"all that good stuff" ... '-.-

Ответить
@chintakawijetunga5658
@chintakawijetunga5658 - 28.01.2021 08:21

Beautifully explained. Worked seamlessly. Adding to what you explained, in postman, can use Authorization tab's Basic Auth Type to pass the credentials as well. It automatically converts to Base64 format.. Thanks CuriousDrive!

Ответить
@ahmedsaad8919
@ahmedsaad8919 - 30.11.2020 16:10

Thanks for this helpful tutorials , great series brother. keep going

Ответить
@exiafarm3865
@exiafarm3865 - 10.11.2020 22:12

Dude Thank you very much.. you deserve a lot of credit ! My API demo will be coming this week and the security part was the one thing i had trouble with Thank you again !

Ответить
@Manu-wb2uv
@Manu-wb2uv - 05.11.2020 14:37

What are these about?
var claims = new []{new Claim.....>
var identity = .....
var principal =.....
var ticket = ....

Ответить
@efraimbasilio
@efraimbasilio - 04.11.2020 22:45

Lovely thanks, Subscribed!

Ответить
@erhanalankus
@erhanalankus - 26.10.2020 15:04

base64 is not encryption

Ответить
@2005bgva
@2005bgva - 20.10.2020 02:40

Fantastic, I learned A LOT. Thanks. Please some reference to see how to do the front end to use this implementation?

Ответить
@somayehamiri4194
@somayehamiri4194 - 17.10.2020 20:26

Hi, I have a problem with this part. Api works but does not show any record in Postman. After Finishing Authentication process, shouldn't it call the GetUsers function? In my code, It stops after finishing AuthenticationHandler ,And doesn't run the GetUser function, is it ok? thank you

Ответить
@mecitsarguzel942
@mecitsarguzel942 - 15.09.2020 23:17

Very useful. Thank you!

Ответить
@BudiSantoso-er6cq
@BudiSantoso-er6cq - 01.09.2020 21:31

i newbie.. thanks for sharing

Ответить
@siddheshmhatre4578
@siddheshmhatre4578 - 30.08.2020 11:37

Thanks a ton brother for this beautiful series. I will wait for more such series from you. Very nice explanation from basics. Thank you brother once again for your efforts.

Ответить
@hamouz718
@hamouz718 - 30.07.2020 10:26

Best video on the subject, keep them coming.

Ответить
@namnntt
@namnntt - 27.06.2020 02:36

pls share you code, thanks!!!

Ответить
@benjacordoba
@benjacordoba - 12.06.2020 06:38

Thanks so much!!

Ответить
@kinax2
@kinax2 - 11.06.2020 14:08

it similar to JWT right ?

Ответить
@kushalpillay2677
@kushalpillay2677 - 08.06.2020 08:48

thanks for the video. wished you had shared the code.

Ответить
@naveengoud7394
@naveengoud7394 - 03.06.2020 16:01

Hi, this is a good explanation. I had a requirement to send Basic Auth token into request headers like this { Basic ZGVtbzpwSHAQDU1dzByZA } instead of { Basic ZGVtbzpwQDU1dzByZA }. If you notice there's SHA appended, this is like (username:SHApassword), we are using SHA256encryption and expecting SHA in the header. Is that possible to do?. Thanks in advance.

Ответить
@amnesia3490
@amnesia3490 - 07.05.2020 22:30

Thanks for the tutorails. It really helps to see not outdated tutorails.

Ответить
@ioanabondoc3844
@ioanabondoc3844 - 06.05.2020 20:22

Hello, I have a question. You usually don't put [Authorize] attribute over the UsersController right? cuz then somebody who acceses a website for the first time would not be able to register right? Correct me if I'm wrong (or anyone who sees this question). Thanks! Again, very great material!

Ответить
@olegsuprun7590
@olegsuprun7590 - 20.03.2020 15:03

so are you retrieving a password from db in plain text? Not sure its a good idea

Ответить
@imran2march
@imran2march - 02.02.2020 23:11

Excellent video
How do i use token base auth2 which stores token and refresh token in database table with client id.

Ответить
@mateusdossantossilva4194
@mateusdossantossilva4194 - 31.01.2020 20:37

VERY GOOD, THANKS.

Ответить
@talkathiriify
@talkathiriify - 13.01.2020 21:01

Excellent as always with best regards
Thank you very much Fahad.

Ответить
@lemurza5236
@lemurza5236 - 12.01.2020 12:14

Thank for this. Loving you videos

Ответить
@serkancakmak9706
@serkancakmak9706 - 12.01.2020 02:44

Thank you for sharing useful information

Ответить