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

Поділитися
Вставка
  • Опубліковано 28 січ 2025

КОМЕНТАРІ • 68

  • @deepak-ku9qq
    @deepak-ku9qq Рік тому +6

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

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

    That is very well explained, I have been trying to understand Grant Flows for a long time but couldn't find anything concrete, but your video gives me a clear picture about the same. Thank you so much for such detailed explanations.

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

    Great. Thank you for the Clear and Simple Explanation

  • @shubhamrajput37
    @shubhamrajput37 Рік тому +6

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

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

    very well exlained , really good content ..... thanks sir !!!!!

  • @shubhamagarwal1434
    @shubhamagarwal1434 8 місяців тому +2

    Congrats on your 100k Subscribers...

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

    Best explanation ever on OAuth❤❤

  • @dhivyaviswanathan7604
    @dhivyaviswanathan7604 Рік тому +3

    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.

  • @koteshwarraomaripudi1080
    @koteshwarraomaripudi1080 Рік тому +5

    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

    • @modelmaestrosolo
      @modelmaestrosolo Місяць тому

      exactly what I was thinking. they could even use the client secret too in the matching.

  • @SandeepAS-ov3fk
    @SandeepAS-ov3fk 7 місяців тому +1

    noone can explain Oauth like you

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

    very well explained.......awsome!!!

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

    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!

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

    Amazing Video..Can you explain about openId connect and how it is related to oauth?

  • @zameerahmed1775
    @zameerahmed1775 28 днів тому +1

    ur tooooo awesome .....keep it up

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

    eagerly waiting for the Springboot implementation !

  • @DurgaShiva7574
    @DurgaShiva7574 Рік тому +3

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

  • @adityaallam
    @adityaallam 5 місяців тому +1

    Hi Sir, great video! I have a question, all the sensitive information(client id, client secret, username, password) is sent via query parameters, how is security ensured so that these information is not stolen? Thanks in advance!

  • @prateek2159
    @prateek2159 7 місяців тому +1

    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.

  • @gauravraj2604
    @gauravraj2604 11 місяців тому +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.

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

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

  • @anudeepkollapudi3815
    @anudeepkollapudi3815 29 днів тому

    Hi Shrayansh .. can't find the notes to HLD playlist. Can you please share the same in the community ?

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

    @shrayansh, in Authorization code grant, fetch token call is authorised by authorization code we provide as parameter, and in ROPC, i saw the POST/token request is authorised by user name and password, and in implicit Grant, the get/authorise is authorised by state variable and like that in Client Credentials grant, i see no parameter is passed in GET/token call, so my question is how this request call gets authorised? is it only using client id and secret? is it safe compared to other mechanisms?

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

    when can we expect spring boot series ?

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

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

  • @ShashikantPawar-g5u
    @ShashikantPawar-g5u 11 місяців тому

    Can you cover use cases of each grant type

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

    great

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

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

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

    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?

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

    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?

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

    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  Рік тому

      its same just for engineers who prefer udemy over youtube.

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

    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  Рік тому

      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.

  • @user-zp1dv4yh5e
    @user-zp1dv4yh5e Рік тому +1

    Can you also make it for Azure AD Oauth?

  • @AbhishekKumar-kk6qs
    @AbhishekKumar-kk6qs Рік тому

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

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

    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  Рік тому

      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 Рік тому

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

  • @harshitagarwal2682
    @harshitagarwal2682 6 місяців тому +1

    👍👍

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

    It is possible to get this note?

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

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

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

      i think in mobile app you will get that

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

      @@ConceptandCoding payment is falling for all options

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

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

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

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

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

      pls check original documentation of OAuth2.0 RFC

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

    @Shreyansh please share notes🙏

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

    notes link please ?

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

    I am working in a fortune 20 company and everywhere they have implemented implicit grant 😂

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

    where are the notes...references..

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

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

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

      @@ConceptandCodingpls add bro

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

    Thompson Sarah Young David Miller Angela

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

    AK din ke liye videos free kar do na vaiya