OAuth 2.0 - a dead simple explanation

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ม.ค. 2025

ความคิดเห็น • 74

  • @jgoebel
    @jgoebel  ปีที่แล้ว +11

    What do you think about this video?
    Let me know in the comments below.
    FYI: I had to re-upload this video because the old one had an audio issue. Sry for that.

    • @waynecam2007
      @waynecam2007 ปีที่แล้ว +1

      this is brilliant

    • @JoshComninellis
      @JoshComninellis 11 หลายเดือนก่อน +1

      VERY helpful. The clearest explanation I’ve been able to find on the topic. Thank you!

    • @abhinahitokab3879
      @abhinahitokab3879 8 หลายเดือนก่อน

      Great stuff , thanks alot, please keep updating with new changes in oAuth,

  • @alastairtheduke
    @alastairtheduke 11 หลายเดือนก่อน +6

    Great slow and clear explanation without cutting any corners, thank you

    • @jgoebel
      @jgoebel  11 หลายเดือนก่อน

      Glad you liked it

  • @jrblackify
    @jrblackify 9 หลายเดือนก่อน

    Excellent video! Not verbose and tedious like many others, and very informative. The only small nit I have: at 4:45 you say "we will learn about the response type in a minute" but then I don't think you ever talk about it. You do talk about Grant Types which are related (I think?) but not response type.

  • @carolineroy7992
    @carolineroy7992 ปีที่แล้ว

    Thank you a lot ! I have to implement an authorization code grant for my personal project and the service doc was really confusing. Great explanation, you saved me 🤗

    • @jgoebel
      @jgoebel  ปีที่แล้ว

      Great to hear!

  • @Mr.D4yz
    @Mr.D4yz 7 หลายเดือนก่อน

    Great video! Short and simple explanation to share with colleagues and not look like an alien trying to explain it.

  • @MadridIsta7
    @MadridIsta7 2 หลายเดือนก่อน

    Simple straight to the point explanation! Thanks.

    • @jgoebel
      @jgoebel  หลายเดือนก่อน

      Glad you liked it!

  • @xandmore
    @xandmore หลายเดือนก่อน

    What an amazing explanation! Thank a lot! 🙇
    Fabulous animations!

    • @jgoebel
      @jgoebel  หลายเดือนก่อน

      Glad you liked it!

  • @alexpato4
    @alexpato4 7 หลายเดือนก่อน

    One of the best explanations about OAuth, thanks a lot!

  • @psylo1841
    @psylo1841 ปีที่แล้ว +2

    You are creating amazing content! Please keep doing it!

  • @ddrr6401
    @ddrr6401 หลายเดือนก่อน +1

    thank you so much for this video .

    • @jgoebel
      @jgoebel  หลายเดือนก่อน

      You are most welcome

  • @philipparker5291
    @philipparker5291 4 หลายเดือนก่อน

    Really clear explanation. Thanks a bunch!

  • @nohjrd
    @nohjrd 3 หลายเดือนก่อน

    Brilliant video and a really clear excellent explanation.

  • @winspyre
    @winspyre 11 หลายเดือนก่อน +1

    Excellent explanation.

    • @jgoebel
      @jgoebel  11 หลายเดือนก่อน

      Glad it was helpful!

  • @mm333-e1t
    @mm333-e1t ปีที่แล้ว

    Yooo welcome back !!!

  • @ThePomelo09
    @ThePomelo09 2 หลายเดือนก่อน

    awesome explanation and presentation, new sub :)

    • @jgoebel
      @jgoebel  หลายเดือนก่อน

      Glad you liked it!

  • @GigGigJigolo
    @GigGigJigolo ปีที่แล้ว +1

    Welcome back! May I ask what tool you used to illustrate this video?

    • @jgoebel
      @jgoebel  ปีที่แล้ว +1

      I used After Effects for this

  • @talatkuyuk6556
    @talatkuyuk6556 ปีที่แล้ว +3

    It is really really good explanation. Thank you....

    • @jgoebel
      @jgoebel  ปีที่แล้ว

      Glad you liked it!

  • @grltrader
    @grltrader 8 หลายเดือนก่อน +1

    Great video!

    • @jgoebel
      @jgoebel  8 หลายเดือนก่อน

      Glad you enjoyed it

  • @andreaskaudel3047
    @andreaskaudel3047 9 หลายเดือนก่อน

    Great stuff ! Thank you very much !

    • @jgoebel
      @jgoebel  8 หลายเดือนก่อน

      Glad you liked it!

  • @haidersyed6554
    @haidersyed6554 ปีที่แล้ว

    9:10 the client may get refresh token but did you miss access taken part ? When is access token granted by the authorization server ?

    • @jgoebel
      @jgoebel  ปีที่แล้ว +1

      forgot to mention it, but you always get a refresh token and you optionally get a refresh token

  • @adrian333dev
    @adrian333dev ปีที่แล้ว

    Really well explained ⭐⭐

    • @jgoebel
      @jgoebel  ปีที่แล้ว

      Glad it was helpful!

  • @nwaformicah433
    @nwaformicah433 9 หลายเดือนก่อน

    Nice video and I think of using Oauth for the project am working on now but I want to ask a question. Did I need to pay or add my credit card before I can use it?

    • @jgoebel
      @jgoebel  9 หลายเดือนก่อน +1

      OAuth is just a standardized framework and quite a few Identity Providers offer it as a service. Whether or not that is free depends on the provider

    • @nwaformicah433
      @nwaformicah433 9 หลายเดือนก่อน

      @@jgoebel Thanks so much I just want to use user email for sign in, him or her into my express server. I have a full stack app, mern

  • @thongtranlequoc688
    @thongtranlequoc688 10 หลายเดือนก่อน

    Thank you very much. Your video is amazing

    • @jgoebel
      @jgoebel  8 หลายเดือนก่อน

      thx

  • @SandeepJan
    @SandeepJan ปีที่แล้ว

    amazing video.. are you planning to redo the other grant types similar to your old playlist or this is a one off update

    • @jgoebel
      @jgoebel  ปีที่แล้ว +1

      was thinking about that. I am a bit time-crunched atm and also the new animated videos did not get that many views. So not sure if I will continue this format or focus on different content

  • @haidersyed6554
    @haidersyed6554 ปีที่แล้ว

    How does Google know that the client has a backend ? What if Google issued client secret when there is no backend ? I got confused I think client credentials part needs more elaboration

    • @jgoebel
      @jgoebel  ปีที่แล้ว

      When you register the third party app, you can register a confidential or public client. If you have a backend, you can keep a secret safe, i.e. you have a confidential client

  • @gkranasinghe
    @gkranasinghe 14 วันที่ผ่านมา

    Good Stuff

    • @jgoebel
      @jgoebel  12 วันที่ผ่านมา

      Glad you enjoyed

  • @johanneskingma
    @johanneskingma ปีที่แล้ว

    Question: what is the difference between a framework and a protocol?

    • @jgoebel
      @jgoebel  ปีที่แล้ว +1

      Oh there are very long-winded debates about this 😅 It seems a bit fuzzy. So a framework is more composable, i.e. the spec does not stipulate every single detail (e.g. in OAuth 2 the spec does not say how exactly the access token has to look, it leaves it somewhat open).
      A protocol is a more stricter rule set that leaves little to no things open (e.g. HTTP or TCP)

  • @k.deepak
    @k.deepak ปีที่แล้ว

    Great content, as always!
    Could you please share the name of the software you used to create these animations?

    • @jgoebel
      @jgoebel  ปีที่แล้ว +1

      After Effects

  • @yapayzeka
    @yapayzeka ปีที่แล้ว

    perfecta explanation

    • @jgoebel
      @jgoebel  ปีที่แล้ว

      Glad it was helpful!

  • @sigge.g2193
    @sigge.g2193 6 หลายเดือนก่อน

    thanks!

    • @jgoebel
      @jgoebel  6 หลายเดือนก่อน

      Welcome!

  • @jano.5485
    @jano.5485 ปีที่แล้ว

    Dumb question not directly related to OAuth... if you can extract anything out of a mobile application for example, how would such an application communicate with its backend securely? Surely you could also just extract those authentication secrets?

    • @jgoebel
      @jgoebel  ปีที่แล้ว

      In a mobile app you would not ship any credentials in the app itself when you put it on the app store. That's why you need a backend that the app communicates with that holds the client secret for the OAuth flow.
      The moment the app is used, of course then you can store cookies, tokens etc on each user's device. But the whole point is that you must not have any secret in your app when you submit it to the app store.
      Or you do dynamic client registration. But then every mobile app installation is its own third party which would be strange

  • @ribbenyms
    @ribbenyms 9 หลายเดือนก่อน +1

    Good video but really bad EQ, I had to really crank down 125HZ cut to keep the floor from shaking :/

  • @AdefolajuwonOyebola
    @AdefolajuwonOyebola ปีที่แล้ว

    welcomee

  • @Saurabh12129
    @Saurabh12129 9 หลายเดือนก่อน

    This makes me believe I am not dumb.

    • @jgoebel
      @jgoebel  8 หลายเดือนก่อน +1

      Most explanations on the Internet are just overly complicated and don't explain the why

  • @PiersYves-k2z
    @PiersYves-k2z 4 หลายเดือนก่อน

    Jones Matthew Clark Charles Lopez Timothy

  • @RichardGonzalez-v6y
    @RichardGonzalez-v6y 4 หลายเดือนก่อน

    Hall Richard Wilson Jose Harris Joseph

  • @SmedleyRudolf-w4k
    @SmedleyRudolf-w4k 4 หลายเดือนก่อน

    Brown Karen Gonzalez Jason Anderson Laura

  • @HillMick-m8y
    @HillMick-m8y 4 หลายเดือนก่อน

    Wilson Betty Williams Thomas Rodriguez Margaret

  • @JeffreyWest-p2u
    @JeffreyWest-p2u 4 หลายเดือนก่อน

    Hall Anthony Thomas Karen Gonzalez Jessica

  • @EddieMaureen-y4u
    @EddieMaureen-y4u 4 หลายเดือนก่อน

    Martin Sarah Smith Elizabeth Garcia Linda

  • @AudreyMalia
    @AudreyMalia 3 หลายเดือนก่อน

    Martinez Donald White Lisa Williams Sandra

  • @ME-bw3rl
    @ME-bw3rl ปีที่แล้ว

    2:37 "if the 3rd party application can keep data secret" what is that supposed to mean?? if it its trustworthy? if it stores data at all?? All the effort to make a video and then you throw things like that in there ... I don't understand video makers anyway

    • @jgoebel
      @jgoebel  ปีที่แล้ว

      This is explained in the section confidential vs public clients at 3:06