Flutter - Firebase Mobile phone Authentication| Firebase otp | Tutorial

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

КОМЕНТАРІ • 55

  • @thijbfip223
    @thijbfip223 Рік тому +2

    thanks bro, finally someone who explain in a simple way how this works, wish you the best

  • @amitsharmaav9924
    @amitsharmaav9924 2 роки тому +1

    watched lots of videos on firebase auth. but this one is awesome.

    • @ProglabsOfficial
      @ProglabsOfficial  2 роки тому

      Hello Amit,
      Thanks for your appreciation means alot

  • @abdulhadialhasn
    @abdulhadialhasn 2 роки тому +2

    A simple and more than wonderful explanation. I wish you all the success because of this beautiful work 💐💐💐

  • @AbdulMoiz-zj7id
    @AbdulMoiz-zj7id 2 роки тому +1

    such a helpfull video .

    • @ProglabsOfficial
      @ProglabsOfficial  2 роки тому

      Hello Abdul Moiz,
      Thanks for your appreciation. :)

  • @atulkumar3187
    @atulkumar3187 2 роки тому +3

    can we skip the captcha part? it is very inconvenient from user perspective....

  • @hashik9546
    @hashik9546 2 роки тому +1

    Thank you for the video . Great work

  • @___vijay___
    @___vijay___ 2 роки тому +1

    if we are doing the auth.signInWithCredential(credential) part in verifyCode method then what is point of doing it in verificationCompleted method? Please answer

    • @ProglabsOfficial
      @ProglabsOfficial  2 роки тому

      Hello Vijay
      verificationCompleted method calls when sometimes firebase automatically detects the message and do the verification automatically.

  • @si11_ibrahim
    @si11_ibrahim 2 роки тому +1

    Thank you so much sir ☺️❤️

  • @nulops
    @nulops 2 роки тому +2

    How can we automatically authenticate the user who authenticates via a phone. AUTH
    I would like to close and reopen the application without it asking me for OTP authentication again

    • @ProglabsOfficial
      @ProglabsOfficial  2 роки тому +1

      Hello sir
      It means you are not checking it in the start that if
      firebaseUser != null.

  • @polroti
    @polroti 2 роки тому +1

    helped a lot. Thanks :)

    • @ProglabsOfficial
      @ProglabsOfficial  2 роки тому

      Hello Polroti
      Thanks for your appreciation :) means alot

  • @helpyourself1844
    @helpyourself1844 2 роки тому +1

    How can we connect complete flutter app, not onlu android, because there is option

    • @ProglabsOfficial
      @ProglabsOfficial  2 роки тому

      You can do this via FlutterFire CLI. I will surely make a video about this as well.

  • @MrBandypappa
    @MrBandypappa 2 роки тому +1

    Awsome video! If I have a registered user, do the user need to type the current OTP every time when he/she wants to login in the app, or the app "remembers" it (so the user type the OTP just once) ? Thanks!

    • @ProglabsOfficial
      @ProglabsOfficial  2 роки тому +1

      Hello bro
      once you are logged in then app will remember the session If you are working with FirebaseAuth and maintaining the session via FirebaseUser.

    • @MrBandypappa
      @MrBandypappa 2 роки тому

      @@ProglabsOfficial Hello. Thank you for the answer. So, if I understand it correctly, if the session is over (for example the user closed the app, or don't use it for a week), than the user should log in again with a new OTP?

    • @ProglabsOfficial
      @ProglabsOfficial  2 роки тому +1

      No the app will maintain the session until you clear the data of the app. Or uninstall it. Then you have to login again

    • @MrBandypappa
      @MrBandypappa 2 роки тому

      @@ProglabsOfficial wow, it is good! Thaky you man!!! You are awsome!

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

    how to autofill this otpcode in textfield?

  • @manishmg3994
    @manishmg3994 3 роки тому

    Please help me out,in my firebase phone auth project it shows an error while registing new user it says 'missing-client-identifier'

    • @ProglabsOfficial
      @ProglabsOfficial  3 роки тому

      Hi Manish, You can clone my repository. I mentioned the link in the description of the video.

  • @MIKKUCN
    @MIKKUCN 2 роки тому

    Thanks you a lot brother🙂🙂🙂🙂😊😊😊😊😊

  • @whatsnews3717
    @whatsnews3717 2 роки тому +1

    merciiiiii beaucoupp

  • @MaiMai-xz4pj
    @MaiMai-xz4pj 2 роки тому +1

    hi bro how can custom sms detail

    • @ProglabsOfficial
      @ProglabsOfficial  2 роки тому +1

      Hello bro
      Well we cant customize it.

    • @MaiMai-xz4pj
      @MaiMai-xz4pj 2 роки тому +1

      @@ProglabsOfficial ok thanks bro

    • @atulkumar3187
      @atulkumar3187 2 роки тому

      well you can't customize the code, but you can customize the sms format in firebase authentication section

  • @MaiMai-xz4pj
    @MaiMai-xz4pj 2 роки тому +1

    how to change detail of sms detail in verification sms

    • @ProglabsOfficial
      @ProglabsOfficial  2 роки тому

      Hello bro
      We cant customize the sms.

    • @MaiMai-xz4pj
      @MaiMai-xz4pj 2 роки тому

      @@ProglabsOfficial how to route to home screen after logged in, can you add code here for me

    • @ProglabsOfficial
      @ProglabsOfficial  2 роки тому

      @@MaiMai-xz4pj You meant to say that if the user already logged in then it should automatically takes the user to HomeScreen after SplashScreen?

  • @zainansari1057
    @zainansari1057 2 роки тому +1

    That auto verification doesn't work

    • @ProglabsOfficial
      @ProglabsOfficial  2 роки тому

      Hello sir
      Can you explain your point more?

    • @zainansari1057
      @zainansari1057 2 роки тому +1

      @@ProglabsOfficial it doesn't fetch sms OTP automatically

    • @ProglabsOfficial
      @ProglabsOfficial  2 роки тому

      Well for that you need to do some more code as well

    • @zainansari1057
      @zainansari1057 2 роки тому

      @@ProglabsOfficial can you help me

  • @ThisIsSKULL
    @ThisIsSKULL 3 роки тому +1

    Code source

    • @ProglabsOfficial
      @ProglabsOfficial  3 роки тому

      Hello مقالب الكاميرا
      Once the authentication videos are completed then I will share a bitbucket repo with you guys :)

  • @sangameshkyatappanavar
    @sangameshkyatappanavar 2 роки тому +1

    Awesome video bro i really loved it and such a great understanding which i didn't get in any other videos
    Thankyou bro loved it❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️💕💕💕💕💕💕💕💕💕💕💕💕💕💕

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

    Sir plz help me. I have this error
    E/zzf ( 5783): Failed to get reCAPTCHA token with error [There was an error while trying to get your package certificate hash.]- calling backend without app verification
    W/FirebaseAuth( 5783): [FirebaseAuthFallback:] App hash will not be appended to the request.
    W/FirebaseAuth( 5783): [SmsRetrieverHelper] SMS auto-retrieval unavailable; SmsRetriever will not start.
    W/System ( 5783): Ignoring header X-Firebase-Locale because its value was null.
    E/FirebaseAuth( 5783): [SmsRetrieverHelper] SMS verification code request failed: unknown status code: 17093 null
    Reloaded 2 of 949 libraries in 3,100ms (compile: 242 ms, reload: 856 ms, reassemble: 804 ms).

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

      you need to add you SHA-key in the Firebase

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

      @@ProglabsOfficial I already added both Sha1 and sha 256

  • @matheusfigueredo7543
    @matheusfigueredo7543 2 роки тому

    I did the same as u but i'm not getting sms and returns
    [SmsRetrieverHelper] SMS verification code request failed: unknown status code: 17499 CAPTCHA_CHECK_FAILED:Recaptcha verification failed - EXPIRED
    You know how to fix it?

    • @ProglabsOfficial
      @ProglabsOfficial  2 роки тому

      Hello Matheus,
      You can contact me on this mail
      support@proglabs.co