OAuth 2.0: An Overview

Поділитися
Вставка
  • Опубліковано 5 вер 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...

КОМЕНТАРІ • 223

  • @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

  • @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.

  • @rupn9633
    @rupn9633 2 роки тому +4

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

  • @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.

  • @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.

  • @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

  • @adad15711
    @adad15711 3 роки тому +2

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

  • @peterlittle4937
    @peterlittle4937 Рік тому +1

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

  • @injeranamitmita
    @injeranamitmita 3 роки тому +2

    top notch even 4 years later! thanks!

  • @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.

  • @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!!!!!

  • @scottsoward
    @scottsoward 4 роки тому +11

    Excellently done and simple to understand examples. Thank you!

  • @Daviesdev
    @Daviesdev Рік тому +1

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

  • @vaibha3v
    @vaibha3v 4 роки тому

    A short and simple explanation of OAuth 2.0. Thanks!

  • @sankaranand503
    @sankaranand503 Рік тому

    Best and simple explanation of OAuth2

  • @NAVEENKUMAR-ne1vg
    @NAVEENKUMAR-ne1vg 5 років тому +3

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

  • @riyabasak9758
    @riyabasak9758 2 місяці тому

    Thanks for this detailed and clear explanation.

  • @Aragubas
    @Aragubas 2 роки тому

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

  • @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.

  • @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!

  • @vidyadityak5726
    @vidyadityak5726 4 роки тому +1

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

  • @LacksonMunthali
    @LacksonMunthali 2 роки тому

    Now this is what I call an explaination.

  • @bipinthakare2404
    @bipinthakare2404 3 роки тому +1

    superb explanation, simple and easy to understand. Nice work

  • @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.

  • @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.

  • @umeshmaurya8205
    @umeshmaurya8205 8 днів тому

    Now, I understand the proper wokflow

  • @codinginflow
    @codinginflow 2 роки тому +4

    Terrific explanation

  • @luisolvera5997
    @luisolvera5997 3 роки тому

    Nice, easy and straightforward!

  • @cjcjonesit
    @cjcjonesit 4 роки тому +1

    You guys are lifesaver. Well done video

  • @steef7843
    @steef7843 11 місяців тому

    Well explained, thank you very much 🙏

  • @kieran2347
    @kieran2347 3 роки тому

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

  • @siddharthkaushik286
    @siddharthkaushik286 Рік тому

    Helpful, nice explanation!!

  • @sreddy5845
    @sreddy5845 7 місяців тому

    Great explanation

  • @rohitkhanna8620
    @rohitkhanna8620 3 роки тому

    Easy and Crisp. Thanks for this!

  • @ricdonato4328
    @ricdonato4328 Рік тому

    Much good information, thank you.

  • @pecan8470
    @pecan8470 2 роки тому

    thank u, saved my life

  • @kushbajpai1265
    @kushbajpai1265 4 роки тому

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

  • @pqr2726
    @pqr2726 Рік тому

    Great video. Makes complete sense!

  • @coriandrew
    @coriandrew 5 років тому +2

    Really great explanation. Thanks.

  • @neeharika8653
    @neeharika8653 4 роки тому

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

  • @nature-lj4sj
    @nature-lj4sj 3 роки тому

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

  • @ivelinarnaudov9834
    @ivelinarnaudov9834 3 роки тому

    Very good Explanation. 👍

  • @sksalmanhaider8992
    @sksalmanhaider8992 3 роки тому

    The best thing on this topic.

  • @F2H16
    @F2H16 4 роки тому +1

    Awesome explanation, thanks buddy.

  • @joelbrandao4
    @joelbrandao4 Рік тому

    Great content!

  • @Juan-Hdez
    @Juan-Hdez Рік тому

    Very useful. Thank you!

  • @harim6598
    @harim6598 6 років тому

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

  • @leandrogalvan1110
    @leandrogalvan1110 3 роки тому

    Amazing explanation.

  • @sanjaybharatiya5074
    @sanjaybharatiya5074 7 років тому +5

    Excellent explanation

  • @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.

  • @Marksmwangi
    @Marksmwangi 2 місяці тому

    great video

  • @Gebes
    @Gebes 3 роки тому +1

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

  • @shadoninja
    @shadoninja 4 роки тому

    Awesome explanation of OAuth 2!

  • @shilpashravge8083
    @shilpashravge8083 Рік тому

    Fantastic explanation 👏

  • @walidkiradesu
    @walidkiradesu 4 роки тому

    Excellent video

  • @meenakshipochincharla8714
    @meenakshipochincharla8714 3 роки тому

    Very well explained, thank you

  • @MelbourneSamurai
    @MelbourneSamurai 2 роки тому +1

    I don't really know why 272 people didn't like this ? 😂😂😂😂😂

  • @marianaaa24
    @marianaaa24 Рік тому

    Great video!!!

  • @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?

  • @christymathew9035
    @christymathew9035 2 роки тому

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

  • @rishabhsharma4300
    @rishabhsharma4300 6 років тому +3

    nicely explained, thanks

  • @nitin.aggarwal
    @nitin.aggarwal 7 років тому +2

    Fabulous explanation.... Well done

  • @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?

  • @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.

  • @leticiamme
    @leticiamme 3 роки тому

    Awesome explanation! :D
    Thanks a bunch!!

  • @percelldeberry8397
    @percelldeberry8397 2 роки тому

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

  • @no_more_free_nicks
    @no_more_free_nicks 2 роки тому

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

  • @zzsql
    @zzsql 5 років тому +2

    Well-done, thanks. Short and sweet.

  • @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.

  • @gehari7814
    @gehari7814 Рік тому

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

  • @himanitrainingandconsultan3388
    @himanitrainingandconsultan3388 4 роки тому

    OAUTH is very useful

  • @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.

  • @raymondeguagie3042
    @raymondeguagie3042 Рік тому

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

  • @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.
      ua-cam.com/video/xcT6OCbI77k/v-deo.html

    • @yemenservices7296
      @yemenservices7296 6 років тому +1

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

  • @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?

  • @Mahmeuver
    @Mahmeuver 8 місяців тому

    thank you!

  • @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

  • @klmz55
    @klmz55 3 роки тому

    Finally got it thanks man thanks 🙏

  • @RazahLP
    @RazahLP 10 місяців тому

    Great, thanks!!

  • @adamberry7536
    @adamberry7536 6 років тому +6

    That was great, thanks!

  • @sachinramesh5360
    @sachinramesh5360 5 років тому +2

    Is this regarding authentication or authorization?

    • @davidheisnam743
      @davidheisnam743 5 років тому

      It appears to me that this video is about both

  • @kenilpatel7841
    @kenilpatel7841 5 років тому

    Wonderful lecture!

  • @tjhorton
    @tjhorton 3 роки тому +1

    Not at all clear what happens in your client app versus the app server.

  • @narasimharaop301
    @narasimharaop301 5 років тому

    Simple and best...

  • @GoutamSikder
    @GoutamSikder 6 років тому

    thank you for this nice tutorial.

  • @ngokul3
    @ngokul3 2 роки тому

    Missing a critical info here. If you just send the auth code, you will not get access token. The auth code need to go in with nonce & code verifier. Only then the server can authenticate you

  • @TonyTigerTonyTiger
    @TonyTigerTonyTiger 4 дні тому

    0:40 You say that the API has a AUTHENTICATION server and a resource server, but later you call it - and label it - as an AUTHORIZATION server.

  • @georgewenbinwang
    @georgewenbinwang 2 роки тому +1

    Not clear betwen authentication and authorization.

  • @tushaar9027
    @tushaar9027 Рік тому

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

  • @1testrad
    @1testrad 3 роки тому

    Thanks a lot ....

  • @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.

  • @MrChingy5555
    @MrChingy5555 3 роки тому

    How does the server know that it is "Sarah" making the request, since user credentials arent send along the calls. What prevents the "MyBucks" application from making calls for other users besides "Sarah".

    • @simondavis1303
      @simondavis1303 3 роки тому

      Sarah has to put in her username and password in memorial bank if she hasn't logged into that yet in the auth request phase. I'm betting the access token identifies Sarah which MyBucks application uses the grant to get it. The resource server will deserialize (decode) the access token and figure out its Sarah. If there is any modifications in the token, I'm guessing it will become an invalid token. The Auth server has a key to encode the token and the resource server has a key to decode the token. These are known as private and public keys. I don't remember which one encodes and which one decodes xD

  • @chandrag2536
    @chandrag2536 5 років тому

    Great Video....thanks

  • @danielcairns9390
    @danielcairns9390 6 років тому

    Brilliant explanation

  • @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?