How to use One-tap Google sign in, including idToken validation server side

Поделиться
HTML-код
  • Опубликовано: 3 июл 2024
  • In this video you will learn how to use #google sign-in with one-tap in a #react app for #authentication. You also learn how to pass the token to backend #expressjs application and validate that idTtoken for authentication.
    --------------------------------------------------------------------------
    📦FREE $100 credit @Digital Ocean: m.do.co/c/3208f08b3324
    --------------------------------------------------------------------------
    Subscribe: ruclips.net/user/yourstruly2...
    --------------------------------------------------------------------------
    💵Support the channel:
    Paypal: www.paypal.me/trulymittal
    Patreon: / trulymittal
    --------------------------------------------------------------------------
    www.npmjs.com/package/@react-...
    www.npmjs.com/package/express...
    www.npmjs.com/package/jose
    www.npmjs.com/package/google-...
    0:00 Introduction
    0:30 Creating credentials
    6:12 React + Express setup using npm workspaces
    7:20 Google sign in - React app
    15:50 One-tap sign in
    18:00 Validation of tokens on Express server
    ======================
    ✔ Other useful Playlists
    ======================
    #RestAPI (#NodeJS and MongoDB): • REST API using NodeJS ...
    #API Authentication using #JWT: • NodeJS API Authenticat...
    #Firebase: • Firebase | Build a Not...
    Docker: • Docker
    MongoDB: • Learn MongoDB in 50 mi...
    Html/Css/Js: • HTML / CSS / JS
    Android: • Android
    Challenges: • Challenges
    #mafiacodes #yoursTRULY #tutorial #howto #nodejs #android

Комментарии • 11

  • @someshchevella8504
    @someshchevella8504 4 месяца назад

    This video is life saver. Keep doing this. Thank you so much.

  • @mr.artist486
    @mr.artist486 Год назад +3

    Can you please create a complete playlist on GCP (specifically for developers) ?

  • @Lerndemy
    @Lerndemy Год назад +3

    Make a series on production ready kubernetes server plz (2)

  • @hackytech7494
    @hackytech7494 Год назад +1

    Thank you so much for your wonderful video, can you please tell me which font you are using ?

  • @hardikraval1585
    @hardikraval1585 Год назад +2

    This token has expiry of one hour, so after an hour, it requires to sign-in again, Correct?

  • @ggnova8581
    @ggnova8581 Год назад +3

    Make a series on production ready kubernetes server plz

    • @Lerndemy
      @Lerndemy Год назад

      yeh bro, dil ki bat kehedi

  • @SeanCassiere
    @SeanCassiere Год назад

    Has anyone done any tutorials on using something like oidc-provider or something along the lines of rolling your own Node Oauth2+OIDC authorization server?

  • @salvatorefiorilla9085
    @salvatorefiorilla9085 10 месяцев назад

    how can i get information of user inside my server once the jwt is verified ? i meant, i would like to have a sort of registration if it is the first login in my react application.

  • @user-ko1fc8ve6v
    @user-ko1fc8ve6v 4 месяца назад

    It seems to me or in App.js is the login function not called anywhere? How does it work then?
    🤔