OAuth 2.0: An Overview

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024
  • See the benefits of OAuth 2.0 technology and get an introduction to how it works. To explore introductory videos about InterSystems technologies, visit the featured overviews page on our Learning website: learning.inter...

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

  • @KirilK88
    @KirilK88 7 ปีที่แล้ว +385

    Probably the best short overview of OAuth 2.0

  • @fajrivalo6276
    @fajrivalo6276 5 ปีที่แล้ว +78

    probably the most benefecial advertisement i've ever watched. FANTASTIC

  • @knweiss
    @knweiss 6 ปีที่แล้ว +266

    The workflow diagram does not distinguish between front channel (appbank) and back channel communication (app's serverbank). I.e. from the description it's hard to understand why Memorial Bank doesn't send the Access Token directly (and skips the additional Authorisation Grant round-trip). The explanation is that the first round-trip happens on the front-channel (appbank), however, the 2nd round-trip happens on the back-channel (app serverbank). I.e. the app (the web browser) never sees the Access Token (at least in case of the Authorisation Code Grant flow described in this video).

    • @jeannek1179
      @jeannek1179 5 ปีที่แล้ว +15

      Agreed, that detail is very important. I spent hours to understand it.

    • @weiyin2281
      @weiyin2281 5 ปีที่แล้ว +6

      Nice, I actually got the same question when I watched the video and now it makes sense to me. Thanks!

    • @LH-hs1gc
      @LH-hs1gc 5 ปีที่แล้ว +2

      Thanks, I had this same question too

    • @YoungDen
      @YoungDen 4 ปีที่แล้ว +4

      He explained at 4:29 mark with having already registered with Memorial bank API before hand.

    • @70ME3E
      @70ME3E 4 ปีที่แล้ว +11

      If I understand correctly it's an extra technical detail. Of which there are probably even more, which are relevant when you're actually there trying to implement the thing. Which may not be the scope of this video, so this higher abstractional level might not be by chance.
      When your granny asks what you do for work you don't go into all the details do you.

  • @matscloud
    @matscloud 4 ปีที่แล้ว +32

    Wow, amazing how some people can explain complex technology in such a simple way. As my friend A.Einstein said, "If you cant explain it simply, you dont understand it well enough".

    • @user-ck6yl6qb2g
      @user-ck6yl6qb2g 4 ปีที่แล้ว

      In a very superficial way.
      If you would have been requested to implement an App authentication with this knowledge -
      Would you know how to?
      For me it's insufficient.

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

      True but 50% of the burden is on the listener to be interested. A disinterested or just plain stupid one may claim an explanation isn't clear as well. That's the trouble with maxims.

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

      This is overview, implementing is details. If you read only documentation for details, it is surprising hard to understand and get whole picture, because such documentations assumes that reader already understands whole picture.

  • @Dolshansky
    @Dolshansky 5 ปีที่แล้ว +16

    This is the best video of OAuth 2.0 I've found so far.
    My only request is if there was another screen showing how the client ID, client secret and callback URL are integrated into the flow shown at 4:00.

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

    I went through 10 different oauth 2 videos, finally its explained in the easy to understand format. Thanks

  • @anhquocnguyen1578
    @anhquocnguyen1578 ปีที่แล้ว +4

    short, straightforward, and very easy to understand. thanks a lot

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

    Others make a 30 minutes long video and can't do shit. Thanks to you for being able to explain it in much shorter time and in the most comprehensive way.

    • @l1f07bscs0035
      @l1f07bscs0035 4 ปีที่แล้ว

      decatechlabs.com/oauth2-explained-and-how-oauth2-works-oauth-in-action

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

    Excellent, non-Indian accented short overview (for those having difficulties understanding Indian accented English)!

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

    An Authorization Server is doing the same function as a firewall with additional functions. Thanks for sharing.

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

    Took 20 mins to watch a 6 min video, Great Video 10/10

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

    Great video. Thanks. For folks totally new to the concept, listen at 0.75 speed :)

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

    Excellently done and simple to understand examples. Thank you!

  • @kikumarmadlur
    @kikumarmadlur 3 ปีที่แล้ว

    Short and clear explanation of OAuth 2.0 ..

  • @thedevtutorials
    @thedevtutorials 5 ปีที่แล้ว +5

    The Best !!!!!!!!
    The only video which helped me understand the working of oauth2!!!!!

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

    top notch even 4 years later! thanks!

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

    I gotta admit
    This was a very good tutorial
    I love how you covered everything in detail

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

    Thanks for this detailed and clear explanation.

  • @NAVEENKUMAR-ne1vg
    @NAVEENKUMAR-ne1vg 5 ปีที่แล้ว +3

    today I understood oauth2 after going through within other waste article☺️

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

    Best and simple explanation of OAuth2

  • @vaibha3v
    @vaibha3v 4 ปีที่แล้ว

    A short and simple explanation of OAuth 2.0. Thanks!

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

    superb explanation, simple and easy to understand. Nice work

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

    Terrific explanation

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

    Amazing explanation! I read the actual specification (which is also amazing) but for people looking for a spot-on basic walkthrough of OAuth’s Authorization Code flow, this is it!

  • @DrunkenEngineer
    @DrunkenEngineer 4 ปีที่แล้ว +4

    Excellent content.
    Inspired from you Even I started sharing my interview Experiences.

  • @billieporter156
    @billieporter156 2 ปีที่แล้ว

    Thank you-this is a great walkthrough of the process. I am recommending this channel to my coding bootcamp cohort.

  • @mmzubairi
    @mmzubairi 6 ปีที่แล้ว

    This is a great video with easy explanation of how oauth 2.0 is used. It does mention the use of openid for authentication but i guess that happens with the identity provider resource.

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

    Short and Crisp to the point needed..Thanks for sharing the info..

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

    Great explanation

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

    You guys are lifesaver. Well done video

  • @Aragubas
    @Aragubas 2 ปีที่แล้ว

    This is a type of ad that i would definitely watch!

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

    In the example, when Sarah access the app's portal (to see bank's balance) for the 1st time, she needs to tell the username/password for the bank. correct? Otherwise, the authorization server would not be able to tell to whom the access token will be issued.

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

      Yes Sarah need to be authenticated. OAUTH 2.0 flow does not include authentication. Authentication can be done in any of the ways like SAML. Yes, for sure Sarah need to authenticate to memorial bank.

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

    Helpful, nice explanation!!

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

    Well explained, thank you very much 🙏

  • @umeshmaurya8205
    @umeshmaurya8205 11 วันที่ผ่านมา

    Now, I understand the proper wokflow

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

    Great content!

  • @ivelinarnaudov9834
    @ivelinarnaudov9834 3 ปีที่แล้ว

    Very good Explanation. 👍

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

    Really great explanation. Thanks.

  • @LacksonMunthali
    @LacksonMunthali 2 ปีที่แล้ว

    Now this is what I call an explaination.

  • @luisolvera5997
    @luisolvera5997 3 ปีที่แล้ว

    Nice, easy and straightforward!

  • @pecan8470
    @pecan8470 2 ปีที่แล้ว

    thank u, saved my life

  • @kieran2347
    @kieran2347 3 ปีที่แล้ว

    Awesome video with clear explanation on how all of this works. Thank you

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

    Much good information, thank you.

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

    Awesome explanation, thanks buddy.

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

    Great video. Makes complete sense!

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

    great video

  • @sanjaybharatiya5074
    @sanjaybharatiya5074 7 ปีที่แล้ว +5

    Excellent explanation

  • @leandrogalvan1110
    @leandrogalvan1110 3 ปีที่แล้ว

    Amazing explanation.

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

    Fantastic explanation 👏

  • @nitin.aggarwal
    @nitin.aggarwal 7 ปีที่แล้ว +2

    Fabulous explanation.... Well done

  • @harim6598
    @harim6598 6 ปีที่แล้ว

    Thanks much, that was clear and easy to understand. Please share links for other

  • @walidkiradesu
    @walidkiradesu 4 ปีที่แล้ว

    Excellent video

  • @kushbajpai1265
    @kushbajpai1265 4 ปีที่แล้ว

    I personally liked this video as it gave me what OAuth exactly means. Thanks a ton!

  • @Juan-Hdez
    @Juan-Hdez ปีที่แล้ว

    Very useful. Thank you!

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

    Great video!!!

  • @nature-lj4sj
    @nature-lj4sj 3 ปีที่แล้ว

    Excellent tutorial 👌 the best one on oauth. Thanks a ton

  • @neeharika8653
    @neeharika8653 5 ปีที่แล้ว

    Simply the best overview video... Short and clear... thanks for this!

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

    nicely explained, thanks

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

    Excellent explanation of the OAuth2 framework! This makes the whole process a lot more understandable

  • @rohitkhanna8620
    @rohitkhanna8620 3 ปีที่แล้ว

    Easy and Crisp. Thanks for this!

  • @sksalmanhaider8992
    @sksalmanhaider8992 3 ปีที่แล้ว

    The best thing on this topic.

  • @meenakshipochincharla8714
    @meenakshipochincharla8714 3 ปีที่แล้ว

    Very well explained, thank you

  • @shadoninja
    @shadoninja 4 ปีที่แล้ว

    Awesome explanation of OAuth 2!

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

    Great, thanks!!

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

    thank you!

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

    On 6:03 you wrote "Sarah will need to login once to access all accounts across different banks. Should not Sarah has to login for each bank?

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

      I think he means that after initially setting up the individual logins of all of her bank accounts on MyBucks, she will be able to access the information she wants by only logging into MyBucks instead of having to login to all of her banks individually. But yes, she will have to login for each bank during the initialization.

  • @kenilpatel7841
    @kenilpatel7841 5 ปีที่แล้ว

    Wonderful lecture!

  • @adamberry7536
    @adamberry7536 6 ปีที่แล้ว +6

    That was great, thanks!

  • @denebgarza
    @denebgarza 7 ปีที่แล้ว +6

    Why is can't the authorization server just send back the access token once the user authenticates/authorizes the app? What's the benefit of having an authorization grant passed around before the access token is granted?

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

      sending back access token directly to client is another authorization grant type mentioned in oauth 2.0 framework of ietf, named "implicit".
      "The implicit grant is a simplified authorization code flow optimized
      for clients implemented in a browser using a scripting language such
      as JavaScript. In the implicit flow, instead of issuing the client
      an authorization code, the client is issued an access token directly
      (as the result of the resource owner authorization). The grant type
      is implicit as no intermediate credentials (such as an authorization
      code) are issued (and later used to obtain an access token).
      When issuing an access token during the implicit grant flow, the
      authorization server does not authenticate the client. In some
      cases, the client identity can be verified via the redirection URI
      used to deliver the access token to the client. The access token may
      be exposed to the resource owner or other applications with access to
      the resource owner's user-agent."
      The implicit way ( send back access token to client/resource owner directly ) will expose access token to resource owner, which is simplified but not reasonable.

    • @EralpBayraktar
      @EralpBayraktar 7 ปีที่แล้ว +7

      This video is very basic if you are asking this type of question.. but let me answer:
      access_token is not passed directly because we don't want the user to get to see the access_token, why? because user level is never trusted, or he may deplete our API quota by doing calls by himself or If a hacker is sitting in the user code or the application, he can grab the access_token which is bad, he now sees the "code" but this code is nothing without client_id and secret which are perfectly safe (at least under your control)
      You may say if a hacker is sittin on client side, he can also grab directly the facebook password, this is not always true depending on the hacker type.. if there is an xss vulnerability on your website he can grab the "code" but cannot intervene to facebook login.

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

      This video (and the series) probably answers your question.
      th-cam.com/video/xcT6OCbI77k/w-d-xo.html

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

      but in the authorization code grant whats the benefit of having an auth grant pass

  • @leticiamme
    @leticiamme 3 ปีที่แล้ว

    Awesome explanation! :D
    Thanks a bunch!!

  • @klmz55
    @klmz55 3 ปีที่แล้ว

    Finally got it thanks man thanks 🙏

  • @john-blair
    @john-blair 3 ปีที่แล้ว

    Thanks for useful video. Be useful to know the purpose of a public Client Id, when the private key should be enough to validate the callback?

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

    in the case, Sarah have accounts in different banks, not only at Memorial Bank, so how is the process of authorization between MyBucks and all the banks?

    • @venkateshd7484
      @venkateshd7484 5 ปีที่แล้ว

      To watch multiple movies, we need ticket for each movie. Same goes here i.e. Sarah need to share Name, Web Site and Call back URL to the other banks that have her accounts.

  • @chandrag2536
    @chandrag2536 5 ปีที่แล้ว

    Great Video....thanks

  • @wendywang8535
    @wendywang8535 4 ปีที่แล้ว

    Nice explanation!

  • @danielcairns9390
    @danielcairns9390 6 ปีที่แล้ว

    Brilliant explanation

  • @1testrad
    @1testrad 3 ปีที่แล้ว

    Thanks a lot ....

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

    You said Sarah can login only 1 time to access many of her banks. But doesn't she need fill out many consent forms ? Or to be able to achieve this, a different grant other than authorization code need to be used?

    • @aparna0488
      @aparna0488 3 ปีที่แล้ว

      exactly my thoughts too.. it said Sarah needs to login JUST ONCE to access all of her account information across various banks.. is it really a valid statement? having been a user of acorns, i think the practical approach would be once per bank account? more of a one time setup per bank till Sarah changes her creds with the bank.. did you ever happen to receive a reply on this one from the content creator?

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

    Well-done, thanks. Short and sweet.

  • @narasimharaop301
    @narasimharaop301 5 ปีที่แล้ว

    Simple and best...

  • @GoutamSikder
    @GoutamSikder 6 ปีที่แล้ว

    thank you for this nice tutorial.

  • @himanitrainingandconsultan3388
    @himanitrainingandconsultan3388 4 ปีที่แล้ว

    OAUTH is very useful

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

    Is this regarding authentication or authorization?

    • @davidheisnam743
      @davidheisnam743 5 ปีที่แล้ว

      It appears to me that this video is about both

  • @percelldeberry8397
    @percelldeberry8397 2 ปีที่แล้ว

    Great job! Thank you. Tried to learn this from my Microsoft cert book and as usual, I'm left utterly confused!

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

    A great Explanation, I have a small doubt How Resource server validate the token? Does resource server internally communicate with Authorization Server, As i know authorization server refresh the token after some time span, How Resource server come to know refresh token is valid? Please help

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

      Pls some one., I need an answer for the same

    • @devvx-fe-gu1d3d0g6
      @devvx-fe-gu1d3d0g6 4 ปีที่แล้ว

      Same

  • @ameyapatil1139
    @ameyapatil1139 3 ปีที่แล้ว

    What a fantastic tutorial ! Best ever.

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

    I am not sure how the resource server check the access token. The resource server will make request to auth. server for check the access token or resource server has the secret-key (solt) for check the signature of the access token?

  • @exce11er
    @exce11er 6 ปีที่แล้ว

    Very good. THank you

  • @no_more_free_nicks
    @no_more_free_nicks 2 ปีที่แล้ว

    Does this, on the conceptual level, differ in any way from how Kerberos works?

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

    Understood! Can this framework be implemented on a PHP/MySQL website ?

  • @2k1ppp
    @2k1ppp 4 ปีที่แล้ว +1

    At 3:56 how does memorial bank verify that the access token it received is a valid token ?

    • @consciousmi4842
      @consciousmi4842 4 ปีที่แล้ว

      The application would have client Id and Client Secret. Using client Id and client secret, response would be decoded, and access token would be retrieved. This access taken would later be used to get resource.

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

    I would like to tentatively point out a typo/mistake. At @0:43 you say the API has an authentication server and a resource server. I believe you meant to say that the API has an authorization server and a resource server. The other diagrams show authorization server.
    Hoping the author sees this and can confirm.

  • @omisladen
    @omisladen 3 ปีที่แล้ว

    Where is the login from Sarah at the Memorail Bank which she have to proceed? Without the login at the memorial bank, they dont knwo which token belongs to which account.

  • @HelloWorld-tn1tl
    @HelloWorld-tn1tl 6 ปีที่แล้ว

    Really nice !

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

    What is the maximum limit of cliend ID in oauth 2.0?

  • @christymathew9035
    @christymathew9035 2 ปีที่แล้ว

    MAY BE YOU WILL TELL IM BAD AT MATH BUT THIS VIDEO CAN BE MARKED 101/100

  • @DMoots
    @DMoots 2 ปีที่แล้ว

    If the authorisation server and the resource server are separate, how does the resource server know that token is legit since there's no "session" shared between them?

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

    Great !!!

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

    Great

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

    Could you please let me know ...how to ignore session_state while sending it token endpoint