oAuth for Beginners - How oauth authentication🔒 works ?

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 พ.ย. 2024

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

  • @ITkFunde
    @ITkFunde  9 หลายเดือนก่อน +15

    Want to clarify that OAuth is primarily an authorization framework, not an authentication protocol. It enables secure access to resources without sharing user credentials. While authentication often occurs within the OAuth flow, it's not the core function.

    • @ThoufiqShamin
      @ThoufiqShamin 9 วันที่ผ่านมา

      Am I correct if I say, the Authorization is done once at the set-up time, and access code is generated for every request?

  • @dheerajbarman431
    @dheerajbarman431 11 วันที่ผ่านมา +1

    Thank you sir for this video. Explained with the same example in an interview, interviewer was impressed. Got my first job. Thanks a lot 🙌

  • @sahoopradipta
    @sahoopradipta 7 หลายเดือนก่อน +5

    very good and clear, I just checked this video for a specific information, even I know the concept. And I got the clear idea. Keep it up..

  • @yazararafath5016
    @yazararafath5016 9 หลายเดือนก่อน +12

    Such a good explanation with a nice understandable example. You are making our life simple, thank you so much for your efforts.

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

      Thankyou 🙏

  • @Sai_k9
    @Sai_k9 วันที่ผ่านมา

    simple explanation bro.. so easy to understand. thank you.

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

    If I haven't watched this video I would never understand OAuth this well.

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

    Your explanation is too good.
    Could you please make a Video how authorization and authentication is working in web application.
    How JWT is working, OAuth vs JWT.

  • @kumar7ck428
    @kumar7ck428 7 หลายเดือนก่อน +4

    How does exchange of authorization code enhance security, instead of directly exchanging the access token. What benefit does the authorization code provide..when we can directly get an access token through the implicit flow.

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

      1. Reduced Exposure of Tokens
      Authorization Code Flow: The access token is not exposed in the user-agent (browser) or returned directly to the client application via the front channel (e.g., as a URL fragment). Instead, the authorization code is obtained through the user-agent but must be exchanged for an access token using a back-channel request from the server. This means the access token is transmitted directly from the authorization server to the application server, never passing through the client's browser.
      Implicit Flow: The access token is delivered directly to the user-agent, making it more susceptible to being exposed in URLs, browser history, logs, or potentially malicious scripts running in the browser.
      2. Client Authentication
      Authorization Code Flow: This flow allows the client (application) to authenticate itself to the authorization server when exchanging the authorization code for an access token. This is typically done using the client secret, which only the client and the authorization server know. This step significantly reduces the risk of tokens being issued to malicious parties.
      Implicit Flow: There is no client authentication involved when obtaining the access token, which makes it less secure, particularly for applications that can maintain confidentiality (e.g., server-side applications).
      3. Short-Lived Authorization Codes
      Authorization Code Flow: The authorization codes are short-lived and can only be used once. If an authorization code is intercepted, it becomes useless once it's exchanged for an access token. This minimizes the window for potential misuse.
      Implicit Flow: Since access tokens are directly issued, any interception gives immediate access to the attacker.
      4. Possibility of Using Refresh Tokens
      Authorization Code Flow: This flow supports the issuance of refresh tokens (depending on the authorization server's policy), allowing applications to obtain new access tokens without requiring the user to authenticate again. This is particularly useful for applications needing long-term access to a resource server without compromising security.
      Implicit Flow: Typically, refresh tokens are not issued because of the security implications of having such tokens in a less secure environment (like a browser).
      5. Secure Token Handling and Storage
      Authorization Code Flow: Since the tokens are obtained via a back-channel and can be stored securely on the server, it mitigates common threats such as Cross-Site Scripting (XSS) or other attacks that could compromise tokens stored or handled client-side.
      Implicit Flow: Tokens stored in the browser are more vulnerable to being stolen through XSS or other similar attacks.
      The Authorization Code flow, by requiring an intermediate step (the exchange of the authorization code for an access token), adds a significant layer of security that protects both the resource owner and the client application. It is particularly suited for applications that can maintain the confidentiality of their credentials and for scenarios where token theft or leakage could lead to significant security risks. The Implicit flow, while simpler and more direct, is generally recommended only for clients that are unable to securely store credentials and where the access token has limited permissions and a short lifespan.

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

    Sir, your explaination is amazing, Plz make a video on SSO protocols like Oauth, LDAP, OpenID,SAML and their differences PLZ

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

    thanks u so much, i have never seen a clear explaination like this! great work!

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

    Another great video, i've been using oauth and, i didnt even know it thanks again

  • @battleofhastings925
    @battleofhastings925 9 หลายเดือนก่อน +4

    You are mixing the terms authentication and authorisation in this video.

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

    Very good and informative explanation sir. many thanks and appreciate your efforts to explain this topic in the most simple way.

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

      Thanks Anish ❤️☺️

  • @bijumohan9460
    @bijumohan9460 9 หลายเดือนก่อน +6

    What is there in it for the providers by giving out this Oauth API access? How do Amazon make money by giving somebody access to another site?

    • @ITkFunde
      @ITkFunde  9 หลายเดือนก่อน +5

      I must say thats a fantastic question, from business perspective Google or Amazon knows that eventually users will end up using thier platforms if there is a dependency created like oAuth does. Secondly these giants needs user data insights for thier own business and letting other Apps use oAuth enable them to do so.

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

    Please also make video on oauth grant types

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

    Super sir....can u explain in this in code with full example

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

    Really a great, relatable example to make this concept more familiar. I appreciate it very much.

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

    Тот самый индус который объясняет лучше всего интернета

  • @RajatTanwar-v6z
    @RajatTanwar-v6z 6 วันที่ผ่านมา

    good explanation

  • @DeepakVerma-x8l
    @DeepakVerma-x8l หลายเดือนก่อน

    what about the clientid and scope that we send before getting access code

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

    Wah bhai kya mast Samjhaya apne❤

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

    Excellent explanation.

  • @vijayakumarvj
    @vijayakumarvj 18 วันที่ผ่านมา +1

    But how is this flow related to the sign up process?? U just explained how a third party app accesses a user's resource..

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

    Very clear 👌
    Thank you from France 🇫🇷

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

    You are a genius bro

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

    very well explained,, thnaks

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

    Do you have a video on jwt as well?

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

    Good and clear. Thanks.

  • @TechLearner-xq6zf
    @TechLearner-xq6zf 4 หลายเดือนก่อน

    Very nicely explained the concept.👍 Thanks bro. Keep up the good work!!⏫

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

    what a explanation brother 👍👍👍👍 great !!!!!!!

  • @SundharamSunny-wf2qy
    @SundharamSunny-wf2qy 4 หลายเดือนก่อน

    Thank you For ur well explanation

  • @Arunkumar-fq2ip
    @Arunkumar-fq2ip 6 หลายเดือนก่อน

    Explained very well👌

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

    Explained with clarity

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

    oAuth :) Great way to login with high security.

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

      Thanks

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

    Good Video..Thank you.

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

    nice explanation

  • @ForWork-mj9fv
    @ForWork-mj9fv 4 หลายเดือนก่อน

    thank you for this masterpiece 🙏

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

    lovely explanation

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

    Thanks, it is useful

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

    excelent 🙂

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

      Thanks

  • @tgayush1424
    @tgayush1424 6 หลายเดือนก่อน +2

    Bhadiya Tha

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

    Thanks!

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

    thank you for the info

  • @Abdullah-zd5rz
    @Abdullah-zd5rz หลายเดือนก่อน

    Me: Having problems with understaning many IT courses and can't find courses online
    Some Indian in youtube : I got you bruder.

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

    thank you

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

    nice

  • @jayanth1376
    @jayanth1376 9 หลายเดือนก่อน +2

    👌👌👌

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

      ❤️❤️❤️

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

    step 11 be like : hn hn apna hi bnda hai dede jo mang rha 😂

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

    My brother!! Your examples are plain text. 😂

  • @Shaktiman-dz4vq
    @Shaktiman-dz4vq 3 หลายเดือนก่อน

    All the explanations Lack step 11