24. OAuth 2.0: Explained with API Request and Response Sample | High Level System Design

Поділитися
Вставка
  • Опубліковано 16 чер 2024
  • ➡️ Notes link: Shared in the Member Community Post (If you are Member of this channel, then pls check the Member community post, i have shared the Notes link there)
    ➡️ Join this channel to get access to member only perks:
    / @conceptandcoding

КОМЕНТАРІ • 53

  • @deepak-ku9qq
    @deepak-ku9qq 4 місяці тому +6

    you videos made LLD and HLD so simple for me !!

  • @gowtham4383
    @gowtham4383 2 місяці тому +1

    Great. Thank you for the Clear and Simple Explanation

  • @balakrushnabehera2800
    @balakrushnabehera2800 4 місяці тому +1

    Best explanation ever on OAuth❤❤

  • @shubhamagarwal1434
    @shubhamagarwal1434 20 днів тому +2

    Congrats on your 100k Subscribers...

  • @shubhamrajput37
    @shubhamrajput37 4 місяці тому +5

    Waiting for Spring Boot videos as covered all the topics of Java and LLD, currently going through HLD

  • @koteshwarraomaripudi1080
    @koteshwarraomaripudi1080 4 місяці тому +3

    For csrf, google could issue token only if the client that is requesting the token is matching with the client id that the code was given to

  • @DurgaShiva7574
    @DurgaShiva7574 4 місяці тому +2

    Eagerly Waiting for JWT video, as well as Spring boot implementation for O-AUTH as well as JWT from you.

  • @shubhamjumde9076
    @shubhamjumde9076 26 днів тому

    When there is inter service communication, like Order service calls Delivery service, how OAuth is implemented? What would be resource owner, authentication server and all?
    This video very well explains OAuth and helped me to understand OAuth . Thank you!

  • @kartikeyrana3736
    @kartikeyrana3736 4 місяці тому +1

    eagerly waiting for the Springboot implementation !

  • @khushgandhi6638
    @khushgandhi6638 4 місяці тому +1

    Hey shreyansh , how many videos are pending for the hld playlist?

  • @prateek2159
    @prateek2159 11 днів тому

    Hi Shrayansh, I think there is some mistake in the CSRF attack workflow here. When Insta sends request to the resource server with authorization_code (of the attacker), redirect_uri, id and secret the resource server after validation of the code sends the response with the requested data to the redirect_url (which is insta’s uri because this is what was present in the request) not the attacker. Just with the authorization code of the attacker, there is no way for the resource server to send the data to the attacker.

  • @ShubhamRajput23
    @ShubhamRajput23 4 місяці тому

    Hello Shreyansh,
    Regarding the authorization & token request, video mentions to include the redirect URI in the query parameter. Typically, for each REST API POST call, we expect a response. Could you clarify whether the authorization code will be included in the REST API call response, or if it will be sent separately by the authorization server via a webhook call to the client's redirect URI? If it is indeed a webhook call, does the client also need to expose an endpoint to receive the authorization code? I'm curious about the industry standard in this context.

    • @ConceptandCoding
      @ConceptandCoding  4 місяці тому

      The authorization code is included in the redirect URI as a query parameter in the response to the authorization request.
      The client needs to expose an endpoint (the redirect URI) to receive and handle the authorization code.
      There is no industry standard for delivering the authorization code via webhook; it's typically delivered directly to the client's specified redirect URI
      I would say, this is generally for security purpose.

  • @gauravraj2604
    @gauravraj2604 4 місяці тому +1

    Hey Shreyansh,
    Do you have any plan to create a video on fetching thread dump and analysing it for debugging purposes ?
    Please reply if you see this. I have asked multiple things on different videos but unfortunately could not get reply to any.

  • @dhivyaviswanathan7604
    @dhivyaviswanathan7604 4 місяці тому

    Recently I bought your LLD course from Udemy .The effort is awesome but the thing is some video's are in Hindi its hard to understand since I am from south. Please make upcoming videos in English so that everyone can make use of it.Thanks shreyansh.

  • @vikasrai4915
    @vikasrai4915 4 місяці тому

    Hello Shreyansh, I have been following since more than a year now, I have been binge watching your videos earlier even when I wasn't interviewing, a few months back I had some health issue and I had to take break from my work, now I am preparing for interviews and I am trying to watch your playlist, few videos are member only, and you also have a course on udemy, so my question is, Is your course on udemy and the playlist on youtube(with membership) any different or they both are same ? If not same what are the differences? Regards.

    • @ConceptandCoding
      @ConceptandCoding  4 місяці тому

      its same just for engineers who prefer udemy over youtube.

  • @user-hn2md6rv3w
    @user-hn2md6rv3w 3 місяці тому

    Can you cover use cases of each grant type

  • @sitikantapanigrahi8621
    @sitikantapanigrahi8621 4 місяці тому +1

    Hello bhaiya. I have one query. Should i have to pay monthly if i join the membership.

  • @gauravraj2604
    @gauravraj2604 4 місяці тому

    Hey Shrayansh, posting 1 question related to LLD / HLD interview.
    1. How are we supposed to create those block diagrams and demonstrate during interview? Asking as I can see interviewee is using some software in one of the mock interviews you took which might not be possible for others.
    2. Also does it depend oncompany to company whether they will select an interviewee when he was unable to submit working code though was able to convey uml diagram?

  • @tejasshaha6629
    @tejasshaha6629 4 місяці тому

    Nice video. 1 question. For /authorization api why we are using GET request ? What if Gmail want to create/update entry at their side to make sure who has asked for code/token then it should be POST request right ?

    • @ConceptandCoding
      @ConceptandCoding  4 місяці тому

      nice catch Tejas.
      i think this design choice might be done because of simplicity or ease of integration.
      But you know, this do post the security issues (usage of GET call) .
      So thats why Authorization code grant type with PKCE is nowadays recommended which try to mitigate this exposure of authorization code in previous GET call.
      i think i should cover that too.

    • @tejasshaha6629
      @tejasshaha6629 4 місяці тому

      @@ConceptandCoding Sure sir. Thank you for the explanation.

  • @AbhishekKumar-kk6qs
    @AbhishekKumar-kk6qs 4 місяці тому

    Hi shreyansh,
    Can you please suggest some books which u follow for learning these cool backend technology.

    • @ConceptandCoding
      @ConceptandCoding  4 місяці тому

      generally i go with official documentation buddy

  • @ramprasadthakur1682
    @ramprasadthakur1682 21 день тому

    Hi Shreyansh In CSRF attack attacker can know my state value as it's passed in request param if he intercepts my request he will get access to it as well right?

  • @harshitgoel6612
    @harshitgoel6612 4 місяці тому +1

    when can we expect spring boot series ?

    • @ConceptandCoding
      @ConceptandCoding  4 місяці тому +1

      by this month i will share the roadmap, thats my plan

  • @user-zp1dv4yh5e
    @user-zp1dv4yh5e 4 місяці тому +1

    Can you also make it for Azure AD Oauth?

    • @ConceptandCoding
      @ConceptandCoding  4 місяці тому +1

      noted

    • @kazcode1937
      @kazcode1937 4 місяці тому

      @@ConceptandCoding what is difference btw authorization and authentication?

  • @nazimuddinasif5489
    @nazimuddinasif5489 4 місяці тому +1

    It is possible to get this note?

  • @Loki-vy5vg
    @Loki-vy5vg 2 місяці тому

    I doubt what you taught, can you please share resources I can refer to and verify 🙏

    • @ConceptandCoding
      @ConceptandCoding  2 місяці тому +1

      pls check original documentation of OAuth2.0 RFC

  • @saideepak1740
    @saideepak1740 4 місяці тому

    @Shreyansh please share notes🙏

    • @ConceptandCoding
      @ConceptandCoding  4 місяці тому

      sorry i was out this weekend, will do it tomm for sure

    • @ConceptandCoding
      @ConceptandCoding  4 місяці тому

      notebook.zohopublic.in/public/notes/bietv949cfd82a5804e0ea1d18400d3ff6fa3

    • @saideepak1740
      @saideepak1740 4 місяці тому

      Thankyou shreyansh

  • @meghadave9363
    @meghadave9363 3 місяці тому

    Hi is it possible for you to add gpay payment option for your course. please

    • @ConceptandCoding
      @ConceptandCoding  3 місяці тому

      i think in mobile app you will get that

    • @meghadave9363
      @meghadave9363 3 місяці тому

      @@ConceptandCoding payment is falling for all options

    • @meghadave9363
      @meghadave9363 3 місяці тому

      @@ConceptandCoding tried Gpay on app, credit card also, it's failing

  • @anshumansingh6336
    @anshumansingh6336 4 місяці тому

    where are the notes...references..

    • @ConceptandCoding
      @ConceptandCoding  4 місяці тому +1

      oops my bad, will add the notes link in description section by EOD

    • @Dlk9407
      @Dlk9407 4 місяці тому

      @@ConceptandCodingpls add bro

  • @ratansarkar7444
    @ratansarkar7444 4 місяці тому

    AK din ke liye videos free kar do na vaiya