How to add Phone OTP Authentication to any Next.js app with Firebase! (Tutorial for Beginners)

Поделиться
HTML-код
  • Опубликовано: 27 июл 2024
  • Free GitHub Source Code: 👉 www.papareact.com/otp-code
    🚨 Join the world’s BEST developer course & community “Zero to Full Stack Hero” NOW: www.papareact.com/course
    🔴 LOOKING FOR THE CODE FROM MY OTHER BUILDS? 🛠️
    links.papareact.com/github
    Join me as I show you how to implement Phone OTP Authentication using Firebase Authentication. You'll learn the following in this video:
    👉 What is Firebase Authentication and How to Set it up
    👉 How to Implement Firebase Authentication to send an OTP SMS to any Phone Number
    👉 How to Implement the ability to verify the OTP sent to your phone to Login the User
    👉 How to Implement reCAPTCHA for the OTP Form
    👉 Implementing Error Handling for the OTP Input Form
    👉 How to Implement Higher-Order Components to get the User's Authentication State
    📩 WANT TO LISTEN TO THE EXCLUSIVE PAPAFAM PLAYLIST?
    Sign up for the PAPAFAM Newsletter here 👉 links.papareact.com/newsletter
    👇🏻FOLLOW ME HERE:
    Instagram: links.papareact.com/instagram
    Facebook: links.papareact.com/facebook
    LinkedIn: links.papareact.com/linkedin
    Twitter: links.papareact.com/twitter
    Discord: links.papareact.com/discord
    💰 WANT TO SUPPORT THE CHANNEL?
    Donate here: links.papareact.com/donate
    Grab some PAPAFAM Merch: links.papareact.com/merch
    🕐 TIMESTAMPS:
    00:00 Introduction
    00:23 Setting Up Firebase Authentication
    03:15 Implementing Shadcn
    04:17 Building the OTP Login Component
    06:21 Implementing the OTP Count Down Timer
    07:41 Implementing reCAPTCHA
    08:30 Implementing the OTP SMS Feature
    16:14 Implementing the OTP Verification Feature
    23:14 How to Implement a Higher-Order Component to get the User’s Authentication State
    28:53 Full OTP Feature Demo
    29:56 Lesson Summary
    30:16 Zero to Full Stack Hero
    30:35 Outro
    Let’s get it PAPAFAM 🔥.
    #nextjs #OTP #firebase #ios #android #google #tutorial #typescript #testing #reactjs #javascript #nextjs15 #phone #shadcn

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

  • @yoJuicy
    @yoJuicy 17 дней назад +8

    More unsponsored content please!

    • @SonnySangha
      @SonnySangha  16 дней назад +2

      This wasn’t sponsored! I’m not sure if you meant it was or not haha - but I only promote the tech I believe in just a heads up!😄💪🏽

  • @bfcodinghub
    @bfcodinghub 16 дней назад

    Thank sonny for always putting all that energy for us

  • @mileslegend
    @mileslegend 16 дней назад

    my bro keeps on blowing my mind......its true..am still learning development but the way you make it easier for me ..its amazing ...keep on doing the great work we appreciate

  • @developmentwithtariq
    @developmentwithtariq 4 дня назад

    Thank you for your great contribution in my life as a developer

  • @Higuita344
    @Higuita344 17 дней назад

    Thank you so much Sonny!

  • @willbangbang607
    @willbangbang607 17 дней назад

    Thank for your work Sonny.
    It would be cool if you made the next/react tripadvisor website one of these days

  • @theblueplanet3576
    @theblueplanet3576 17 дней назад

    Good one. Thanks for share.👍
    For security reasons and user experience , I would suggest to clear the otp input if there was a wrong input.

  • @adloukondo2148
    @adloukondo2148 17 дней назад

    Merci beaucoup.

  • @ChrisFarley92
    @ChrisFarley92 17 дней назад

    Sonny man you the GOAT!

  • @motivateme3152
    @motivateme3152 16 дней назад

    Supper amazing!

  • @loginet1
    @loginet1 17 дней назад

    Nice!

  • @Deus-lo-Vuilt
    @Deus-lo-Vuilt 16 дней назад

    Thanks

  • @emmanueldesirekouadio3568
    @emmanueldesirekouadio3568 17 дней назад

    Papafam❤

  • @adloukondo2148
    @adloukondo2148 17 дней назад

    Je suis le premier sur cette vidéo 💖💖 Merci beaucoup

  • @AS.Developer15
    @AS.Developer15 17 дней назад

    Papa React 🔥🔥🔥

  • @redboy786
    @redboy786 17 дней назад

    nice

  • @rushikeshgangapurkar3852
    @rushikeshgangapurkar3852 2 дня назад

    Can we use web Firebase in react native expo nextjs??

  • @Moviewalaa01
    @Moviewalaa01 17 дней назад

    @sonny this video is both React js and Next js

    • @SonnySangha
      @SonnySangha  17 дней назад

      Yes except the client & server component logic from next.js

  • @Jay-pj7ob
    @Jay-pj7ob 17 дней назад

    Knock knock
    Who's there ?
    CLERK

    • @SonnySangha
      @SonnySangha  17 дней назад

      It’s always good to learn a broad range of skills! But yes Clerk is friggin’ awesome🔥💯

    • @Jay-pj7ob
      @Jay-pj7ob 17 дней назад

      @SonnySangha oh yea, totally appreciate your work 😊👍

    • @SonnySangha
      @SonnySangha  17 дней назад

      ❤️💪🏽

  • @muskanshekh8287
    @muskanshekh8287 12 дней назад

    Didn't receive any OTP?
    Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.

  • @nevilpaul8519
    @nevilpaul8519 5 дней назад

    No matter how much i try Am getting the error
    auth/invalid-app-credentials
    an error in POST method also
    can anyone say how to fix this??

    • @adloukondo2148
      @adloukondo2148 День назад

      Moi aussi j'ai le même problème. tu as finalement trouver la solution.

  • @FredMoore-tf7pq
    @FredMoore-tf7pq 17 дней назад

    Is this react native ??