GitHub Login With React (GitHub APIs, GitHub OAuth 2.0 Authentication)

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

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

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

    OMG! The way everything was explained was legit awesome! it was all digestible, I only have 1 or two rewind and everything was smooth thank you so much

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

    This is the best, the explanation was too the point. This is my first time creating a OAuth authentication and I understood everything about the implementation part. The comments you write in between the code in really helpful!. Thank you so much!

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

    One thing to mention here is that the whole point of a proxy is to not store the Github token on the client side, ideally they'd be stored in the server.
    Client requests the server using a user ID -> server requests GH API using the token of that user -> returns the response
    If we're storing the GH token on the client side, we might as well call the GH API directly...

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

      No...?
      "Might as well call the GH API directly..."
      How would you do that without exposing the SECRET? :)

  • @Uzair57
    @Uzair57 6 วันที่ผ่านมา +1

    Please make sure to provide the source code so we can use it. ❤

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

    This video is amazing! I don't know how it has that little of views really useful. The only thing I didn't get it is that if we need to save specific data of our app and link that to an user how we associate GitHub profile with a user in our platform (let's say a game and I want to have player stats) (sorry for any English mistakes and feel free to correct them)

  • @SammedP-r9s
    @SammedP-r9s ปีที่แล้ว

    Really a great video. It helped me a lot.
    Would like to mention that if we try to fetch the access token directly from the client, the response would be opaque, which means client won't be able to access the body or access token. You will see accessToken in network tab but won't be able to access it in code. So I think server would be necessary here.

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

    Finally a video making sense!! THnak you

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

    Getting a 'bad credentials' message when trying to store userData or try to acess userData, any suggestions?

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

    Great video, keep it up!

  • @정지현-c3k
    @정지현-c3k 2 ปีที่แล้ว

    OMG!!!! You saved me... Thanks for this amazing video!!!

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

    i write the same code but it is not work. it is failed to fetch

  • @0xfd-xz6ob
    @0xfd-xz6ob 7 หลายเดือนก่อน

    Thank you for the video. I have an error message that says "Cookie must be enabled to use Github" But my browser is not blocking any third-party cookie. Any idea on how to fix this?

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

    Im a Laravel dev. But this is still useful to me

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

    I am assuming this can be done without an express server and hosted as a gh-page?

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

    Really good content

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

    Thank you so much! Again an amazing video. I wanna make an app for searching repositories with the search api, is it like this too or do i need to change something? The docs on github are a mess i don't understand anything

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

    How to do this but on youtube?

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

    Please can we get the source code for this course

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

    EPIC.

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

    Can you please push the code to Github. :)

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

    holup, why removing react strict could be so controversial? Second, why in the world would react render twice? Why the redundancy?

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

    Code repo?

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

    I though it would be hard like google's. google's way of doing oauth is stupid compared to github.

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

    (in promise) SyntaxError: Unexpected token '