HTTP Basic Authentication explained | HTTP authentication for client/server to server communication

preview_player
Показать описание

In this video we explain what HTTP Basic Authentication is and how to use it for client to server or server to server communication.

To use HTTP Basic authentication, you need to put the base64 encoded username and password inside the Authorization header and separate them by a colon.
Рекомендации по теме
Комментарии
Автор

Let me know what you think about this video.
As always, if you have any video ideas, please let me know.
I've also more videos on my channel that cover sessions and JWTs

jgoebel
Автор

Pretty good video, there's a mistake though with the implementation example, the base64 encoded value does not have a colon. Rather the string "myusername:mypassword" gets converted together into (just one) base64 value.

DarkLevis
Автор

Good explanation, nice video with diagram, it helps me a lot. Voice over pace was also good, but I didn't expected it to be mono. Overall, it helped me. Thank you 🙂

ranapratapsingh
Автор

Thanks for this awesome explanation of basic authentication

miguelvenegas
Автор

Cool video, thank you!
Really enjoy the way you present information

tatsianamaltseva
Автор

Loved the video! Really helped me with the basics, thx man

rafaelfreitastrad
Автор

It could be my stream of the video but I was only getting audio out of the left side. If you are using OBS by any chance you can click on the Audio Mixer settings, then Advanced Audio Properties, then click the box for Mono for your mic. Good video, hope this is helpful.

jwhite
Автор

Excellent simple and clear explanation!

sergeyfilat
Автор

What do you think for using passport module for the authentication? what is your recommendation, is learning passport worth it or you prefer something else?

melim
Автор

Hi, I am an extreme beginner. Can you help me with some questions ? Can you advise me,
1) how or who creates the username and the password that are to be inserted into the Auth header ?
2) how the username / password is created ?
3) does this mean, for every request made to a server, the same username / password will be used, or a new username / password is created for every single request ?
Thanks for your advice ! And also, great video ! Keep up the good work !

kingdomriot
Автор

Wait. TLS does authentication by default = you use private & public key so how do you not know who are you sending to and need authentication?

SKglitches
Автор

loved the graphics and explanation! Do you have any thoughts on whether it makes sense to add http basic authentication to a wordpress site? I read a blog on Kinsta about it, and it suggested that the extra level is sometimes added during the dev stage, or in a sandbox. Does that mean that adding an additional layer to a production site may not make sense? Thanks again!

nourmamyself
Автор

i thought my right earphone stopped working

SanjanaXD
Автор

You never said why the username and password are converted to base64.
loved the presentation though. good job

karimk