Oauth 2.0 tutorial Explain Like I’m 5

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024

Комментарии • 186

  • @Gabzim
    @Gabzim  3 года назад +41

    Hey guys, when making free content without any monetization, a comment and a like go a huge way. It’s truly encouraging to see that it’s been useful to many of you. Thank you for taking the time to leave a comment and a like. I appreciate it.

  • @Babaelow
    @Babaelow 2 года назад +5

    IT really needs more teachers like you, that thought things through and make an effort to explain something as simple as possible and only as complicated as needed.

    • @Gabzim
      @Gabzim  2 года назад

      Really appreciate you taking the time to leave an encouraging message

  • @jcolby298
    @jcolby298 2 года назад

    Hallelujah. Finally someone that is really good at explaining complex technical topics in a simple, clear manner.

  • @maulanaputro1966
    @maulanaputro1966 9 месяцев назад

    this is the exact explanation that im looking for, and you're doing it perfectly. keep this "explain A like im 5" series going!

  • @banzooiebooie
    @banzooiebooie Год назад

    Finally someone who can explain Oauth that I understand, great video.

  • @domkatbess322
    @domkatbess322 2 года назад

    My grandmother just understood this! Thanks.

  • @ryanplitt7102
    @ryanplitt7102 Год назад +3

    This video was exactly what I needed. I’m sad to say I’ve been a software engineer for a few years and have never really understood this until your video. Thanks!

  • @rudyairlines89
    @rudyairlines89 Год назад

    Finally someone makes a clear explanation about Oauth 2.0! thanks!! I love this video

  • @dirkb.2801
    @dirkb.2801 2 года назад +2

    This was truly a description of the OAuth flow that can be understood by everyone. Thank you!

  • @mkman
    @mkman 2 года назад

    I've been hearing the words OAuth for so long without knowing what it is. This video explains it really well in simple terms. Thank you

  • @jpakash1999
    @jpakash1999 2 года назад

    The best explanation for oauth available on internet!

  • @MylesIeong
    @MylesIeong 3 года назад

    I like it especially when you are trying to explain the why not front channel part

  • @bobbywong82
    @bobbywong82 Год назад +1

    Super easy to follow. Stating the problem/context before going into explanation helps so much. Thanks!

  • @aymenboudabia5221
    @aymenboudabia5221 Год назад

    Damn dude, This is The best and simplest explanation ever . Goodjob!

  • @kiranvarghese672
    @kiranvarghese672 2 года назад

    Never saw anyone explaining this worth.. ur title claim stands mate !! Subscribed for more such contents

  • @frankkrone973
    @frankkrone973 3 года назад +1

    Well done! This is the first video I have found that explains the purpose before going into all the technical details.

  • @tairatech
    @tairatech 2 года назад +3

    This was a great introduction to OAuth, thank you Gabriel and keep up the great work.

  • @connornorton7901
    @connornorton7901 Год назад

    Great explanation! I appreciate you breaking down the parameters of the request, so helpful.

  • @angelbythewings
    @angelbythewings Год назад

    wow, the best explanation ever, and the title did not disappoint me. But, now i really feel like a 5 yo, coz no other video cleared it for me!

  • @boomboom-9451
    @boomboom-9451 Год назад

    greatest explanation available in youtube. thanks

  • @MrRossss1
    @MrRossss1 2 года назад

    Best video I've seen on this. Great stuff. Thank you

  • @djrmarketing598
    @djrmarketing598 2 года назад

    WOW thank you for the video! This is hands down the best explanation I've ever seen for OAuth2 flows and I've been a programmer for 30 years and it's never made sense on how it works until now.

    • @Gabzim
      @Gabzim  2 года назад

      I’m really glad this was helpful! Thanks for taking the time to leave a comment

  • @ankitGrover-LTD
    @ankitGrover-LTD 2 года назад

    Best explanation so far. Thanks for sharing the knowledge!

    • @Gabzim
      @Gabzim  2 года назад

      Thanks for the kind words! Have a great weekend

  • @isurucumaranathunga
    @isurucumaranathunga 8 месяцев назад

    This is the best explanation that I have ever found. Thanks a lot

  • @ibbishariff
    @ibbishariff 2 года назад +3

    This is a great video. I came across this video after watching few other videos on oAuth, but the way you explained was really brilliant. Other videos just touched the basic concept, but did not cover in-depth the way you've done in this video.

    • @alihosseini4892
      @alihosseini4892 2 года назад

      The same here; not because the other videos aren't good, but because this video has great content and excellent presentation.

  • @JorgenBruun
    @JorgenBruun Год назад

    I don't feel dumb anymore! ;O) Thanks for great, easy to follow explantions. I like the way you break the information down.

  • @jimrothstein
    @jimrothstein 2 года назад +1

    Best 15 minute investment ! Wish I had done it a week ago.

  • @kennette2121
    @kennette2121 2 года назад

    Great explanation! You helped answer our question on the purpose of the authorization code + access token requirement. The Front and Back channel and client secret is an important aspect that we didn’t pick up on from the docs. Thanks!

    • @Gabzim
      @Gabzim  2 года назад

      Glad it was useful! I’m working on part 2. I haven’t covered PKCE yet.

  • @brokko_le3
    @brokko_le3 Год назад

    Best explanation I've seen so far. I was expecting a far less detailed explanation, but I am very pleasantly surprised. It made me realize I don't even need to implement oauth for my API, because it won't even handle user specific data, only global.

  • @carlandres3319
    @carlandres3319 2 года назад

    This is very comprehensive explanation.
    Thank you very much

  • @electruc3370
    @electruc3370 2 года назад

    Finally I got the answer for "Why google does not send access token directly instead of sending code first ?"
    Thank you.

  • @F2H16
    @F2H16 Год назад

    Hi Gabriel, this is an amazing rundown. Thanks for your time and effort.

  • @BlockCylinder
    @BlockCylinder 3 года назад

    I think you've really got something with the "Explain It Like I'm 5" series. It's a fantastic idea. Good luck.

    • @Gabzim
      @Gabzim  3 года назад

      Thanks, I need more ideas, anything you’d like to see?

  • @aznjokeryou
    @aznjokeryou 3 года назад

    Hit my head against the keyboard for hours until this made things clearer. Thank you!!

  • @laferreyra-ltx
    @laferreyra-ltx Год назад

    Great explanation! This is what I needed . Thank you!

  • @Vesture23
    @Vesture23 2 года назад

    Great content! Answered some of the questions I've been scouring the net for.

  • @agpennypacker42
    @agpennypacker42 2 года назад

    Nice description and overview, just subscribed bra.

    • @agpennypacker42
      @agpennypacker42 2 года назад +1

      Ohh, where are the vids you mentioned about PKCE?

    • @Gabzim
      @Gabzim  2 года назад

      I haven’t made it yet, it’s a very simple concept so the video explaining it should be pretty short

  • @kadidibwa968
    @kadidibwa968 2 года назад

    Indeed impeccable explanation... This deserves a standing ovation

  • @johnalbertnajes
    @johnalbertnajes 2 года назад

    Oh my, this really explained alot to me. This is so brilliant. I was struggling understanding oauth, and where to store my keys, now you gave me ALOT of ideas. ALOT. I know nothing *yet* about this oauth and you made me feel like a pro now. Thanks

    • @Gabzim
      @Gabzim  2 года назад

      I’m really glad this was useful to you. I need to do part 2.

  • @rhesustamarin
    @rhesustamarin 3 года назад

    great video gabe! the front channel and back channel were wow moments!

  • @SteveBegin-h2m
    @SteveBegin-h2m Год назад

    Best explanation ever. Awesome!

  • @stefanprojek8667
    @stefanprojek8667 2 года назад

    WOW great explanation! Thank you Gabriel

  • @simaasmr1770
    @simaasmr1770 Год назад

    Great video, He explained everything step by step

  • @MrPikoka
    @MrPikoka 2 года назад

    I learnt so much in such a little time.

  • @robertlark7370
    @robertlark7370 3 года назад +4

    Amazing stuff - really appreciate you explaining this in a simple way.

  • @martyg4939
    @martyg4939 2 года назад

    Its been awhile since I had to understand really what was going on with Oauth and this 15 minutes was superb in reconnecting what I knew but didn't remember. Thanks!!!

  • @hassanarafat6430
    @hassanarafat6430 2 года назад +1

    Excellent tutorial Gabriel. You're the best. Have you made any video on open id connect as well ?

    • @Gabzim
      @Gabzim  2 года назад

      Not yet, I’ve been meaning to resume but work has been absolutely impossible. After we launch some high priority deliverable I’ll have more time to come back to RUclips

    • @Gabzim
      @Gabzim  2 года назад

      I appreciate the kind words and that you took the time to leave a comment! Take care and hopefully see you soon in new videos

  • @NancyZhang0516
    @NancyZhang0516 2 года назад

    very clear and easy to understand video, thanks Gabriel!

  • @camilos007
    @camilos007 3 года назад

    Great video. You're the first one I've found that explains the 3 identities. The Resource Owner, The Client and Auth Server. Great job!

  • @ramananpoovainthan1478
    @ramananpoovainthan1478 2 года назад

    Thank you for this video, definitely gave me a better picture of OAuth 2.0

  • @amymarais4909
    @amymarais4909 2 года назад

    this was so helpful, thanks. Gabriel!

  • @jriosfer
    @jriosfer Год назад

    good approach and explanation. Thanks a lot!

  • @MrSunildm4u
    @MrSunildm4u 8 месяцев назад

    Thats great explanation ... Loved it

  • @andreivicentiuhincu7457
    @andreivicentiuhincu7457 2 года назад +1

    Great video explaining for beginners. I had to explain Oauth2 and OpenID Connect to my students, and this guide was very helpful for me to be more visual. Keep the content going ;)

  • @laStar972chuck
    @laStar972chuck 3 года назад

    Tanks for the exlanation and quality drawing ! Really makes everything much clearer !!

  • @antonymwangi8286
    @antonymwangi8286 2 года назад

    This is very clear explanation! Great job!

  • @poosam4065
    @poosam4065 2 года назад

    Very well explained. Thanks for this!!

  • @andrii3277
    @andrii3277 2 года назад

    Great explanation, Gabriel!

  • @qamerashah
    @qamerashah 2 года назад

    As others have said. Fantastically clear video. Thank you!

  • @deemon710
    @deemon710 Год назад

    This is a great explanation. I feel a little dumb it took a ELI5 for me to get it.

    • @Gabzim
      @Gabzim  Год назад

      It takes me a eli5 too so that’s why I made it.

  • @Jay-sb2qj
    @Jay-sb2qj 3 года назад +1

    This was so well explained, thank you, Gabriel.

  • @denys3211
    @denys3211 3 года назад +1

    Best explanation ever. Well done, thank you!

  • @firstname-lastname
    @firstname-lastname 2 года назад

    Really cool explanation, thanks! Keep on posting good videos.

  • @ivanjezakonful
    @ivanjezakonful 2 года назад

    Awesome video. Thank you! Subscribed

  • @princeaugustine1929
    @princeaugustine1929 3 года назад

    Very informative Video Gabriel..Thank you so much

  • @samanshakya3848
    @samanshakya3848 2 года назад

    Best explanation!! Thanks.

  • @alvaroespinoza4052
    @alvaroespinoza4052 Год назад

    Thank you for the explanation!.

  • @chaitanya-varu
    @chaitanya-varu Год назад

    thankyou for explaining in such a clear way

    • @Gabzim
      @Gabzim  Год назад

      Thanks for taking the time to leave a comment!

    • @Gabzim
      @Gabzim  Год назад

      I appreciate it

  • @mohammedgad5321
    @mohammedgad5321 2 года назад

    Very useful! Great job!

  • @zeincoutait1696
    @zeincoutait1696 2 года назад

    Thanks Gabriel, that was amazing

  • @MylesIeong
    @MylesIeong 3 года назад

    Superb explanation!

  • @conpeo
    @conpeo 3 года назад

    Good job mate! Thanks for this video!

  • @EddieMasseyIII
    @EddieMasseyIII 2 года назад

    Phenomenal explanation!

  • @bittubaiju8794
    @bittubaiju8794 2 года назад

    Very well explained. Thank you.

  • @seth_sesu
    @seth_sesu 2 года назад +1

    Amazing video. One question though: How is the "client secret" verified by the authorization server? As I understand, the server never received the client secret through the front channel so it has nothing to reference when checking the validity of the secret on the back channel. 🤔

    • @Gabzim
      @Gabzim  2 года назад +1

      Thanks for the comment. So the client id and secret were provided by them. For instance if you want to use oauth with google, you first need to go to google and creat an application, they will then give your application and id and secret, so when you send the secret they compare to what they had in their db.

    • @seth_sesu
      @seth_sesu 2 года назад +1

      @@Gabzim Makes sense! thank you for the answer!

  • @furkan9864
    @furkan9864 2 года назад

    thank you very much, you saved me a lot of time.

  • @jeyabharathy6852
    @jeyabharathy6852 3 года назад

    wow... i can now confidently answer in interview about oauth

  • @fredericobraga85
    @fredericobraga85 2 года назад

    Thanks for the great video, Gabriel

    • @Gabzim
      @Gabzim  2 года назад

      Thanks for the support!

  • @davidkeck6183
    @davidkeck6183 Год назад

    Web authentication seems like a large topic. I spent a lot of the day learning about authorizing via JSON Web Tokens so kind of burnt out for the day, but your explanation of OAUTH2 was digestible nonetheless. Thanks!

  • @MrBitviper
    @MrBitviper 2 года назад

    awesome explanation. thanks for this

  • @jyothitadepalli
    @jyothitadepalli 2 года назад

    Thanks for explaining in an understandable way.

  • @stomach593
    @stomach593 2 года назад +1

    Nicely explained. But I think you should consider using colors that are more contrasted. The red text was difficult to see against the grey background. Maybe use a lighter red or a black background next time.

    • @Gabzim
      @Gabzim  2 года назад

      Thanks for the feedback, you’re right, I feel it was hard to read at times but my editing skills are quite terrible 😅 I’ll figure something out, thank you!

  • @hannahbaker411
    @hannahbaker411 2 года назад

    thank you for the demonstration sir it was great! keep this up

  • @thetedsingh
    @thetedsingh 2 года назад

    Awesome video - thanks for making this!

  • @SleepThatBurns
    @SleepThatBurns 2 года назад

    really well done. Kudos!

  • @saranshmehra8577
    @saranshmehra8577 2 года назад +1

    Hey Gabriel , Great Video.. when are you uploading part 2 of this ?

    • @Gabzim
      @Gabzim  2 года назад +3

      Hey appreciate the encouraging comment. I’ve been super busy lately and it’s been hard to overcome my struggle with recording myself. I’ll try to catch up in the upcoming 2 weeks

  • @Raul-n3i
    @Raul-n3i 2 года назад

    Great explanation. I just have a question. If using token as the response_type, why can't the access_token just be sent along with the client_id and client_secret to make requests and so making them more secure?
    Is it because you don't want to send your client_id and client_secret all the time or is there another reason?

    • @Gabzim
      @Gabzim  2 года назад

      so once you have the token, you no longer need to provide the secret (the client id is ok because it's public), and I guess the reason for that is precisely that you should send that over a secure channel and no more often than strictly necessary. You never want to expose the secret in your client or have it leave your server unless it goes directly to the identity provider (google in the example) because they already know the secret.

  • @jojiisac
    @jojiisac Год назад

    Good video, nicely explained :)

  • @rajrawat1290
    @rajrawat1290 Год назад +1

    Best explanation

  • @awerkampfamily3188
    @awerkampfamily3188 2 года назад

    Amazing explanation. Thank you!

  • @tathagatapal
    @tathagatapal 2 года назад

    Thanks for your effort ! Really helps a lot !

  • @theocarney940
    @theocarney940 3 года назад

    Nice explanation! I'd reword the title tho to more like "explain like I'm a junior dev" lol

  • @shwethab2520
    @shwethab2520 3 года назад

    Crystal clear.. thank you 🙂

  • @anifowosetobi6131
    @anifowosetobi6131 3 года назад

    I really enjoyed your explanation!
    Thank you.

    • @Gabzim
      @Gabzim  3 года назад

      Glad you enjoyed it! Let me know what else you'd want to see

  • @mariuspet89
    @mariuspet89 2 года назад

    Great explanation!

  • @nileshkumarkoli9476
    @nileshkumarkoli9476 4 года назад

    Hey Man! you explained it very clearly. Thanks.

    • @Gabzim
      @Gabzim  4 года назад

      Glad you liked it! Will try to work on part 2 soon.

  • @poloxlolz
    @poloxlolz 2 года назад

    loved the video, thank you

  • @Nick-ox5rq
    @Nick-ox5rq 3 года назад

    Man this helped a lot, thanks a bunch.

  • @mcmacaccenturemcmacaccentu8464
    @mcmacaccenturemcmacaccentu8464 2 года назад +1

    But in front channel you provide to browser the client_id and client_secret when you first provide resource owner with URL. (the url which leads to google and links the request with client)
    What I am trying to say is: if someone extracts the client_id and client_secret at first and then captures the "code" then they can still request token.
    Am I wrong?

    • @Gabzim
      @Gabzim  2 года назад

      Yes, you are partially wrong. you do not provide the client secret. Only the client id, the client secret remains in the backend to exchange the code for a token

    • @Gabzim
      @Gabzim  2 года назад

      Front end never sees the client secret

  • @mubafaw
    @mubafaw 6 месяцев назад

    Great explanation