Flutter Tutorial - Verify Email | Firebase Authentication 🔥 [2022] 4/4 Email And Password

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

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

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

    This might help you :)
    👉 12 Week Flutter Training from Newbie to Expert: heyflutter.com
    Source Code: github.com/JohannesMilke/firebase_auth_verify_email

  • @__mothership__8475
    @__mothership__8475 2 года назад +1

    1. Reset FIrebase email
    2. Phone OTP verification using firebase
    3. FCM for iOS
    Please make these tutorials

  • @DavidBLo100
    @DavidBLo100 2 года назад +3

    Great job!!!! Quick, precise, clear, and backed up with clean codes!!!! You are the BEST.

  • @ArtVandelayInc
    @ArtVandelayInc 27 дней назад

    Works like a charm! Thank you for the tutorial

    • @HeyFlutter
      @HeyFlutter  22 дня назад

      Glad to hear that, You are most welcome @ArtVandelayInc

  • @karemzky
    @karemzky 2 года назад +1

    Thanks for the video , kindly can you make a Video on phone authentication and verification

  • @geekybrick8189
    @geekybrick8189 2 года назад +1

    Thank you, this is very helpful!
    Could you please make a video on running a firebase app in offline mode? I.e., handling dropped connection, caching, delayed submission of data to the cloud firestore (e.g., when the user connects to the internet again), etc.
    your work is greatly appreciated!

  • @Patrickus23
    @Patrickus23 2 года назад +1

    Great tutorial! I have a question: If a user press the cancel button to not verify mail anymore, the mail and password information will still be displayed in the Firebase Database?

  • @ShahNawaz-mo7ki
    @ShahNawaz-mo7ki Год назад

    I have done it successfully by following you tutorial thank u so much

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

      Glad to hear that, You are most welcome @ShahNawaz-mo7ki! 😊

  • @oyebayooluwafemi6515
    @oyebayooluwafemi6515 2 года назад +1

    Great Video
    I have 2 questions.
    First, is it possible to verify with a code instead of a link. Secondly, can i verify the email address first before inputting user data like the password, username, phone number.

    • @oyebayooluwafemi6515
      @oyebayooluwafemi6515 2 года назад

      @@HeyFlutter The app I'm currently developing, upon registration the user have to verify the email (an OTP code should be sent to the email address of the user) before being logged into the app. Using the method on flutter documentation, it only sends a link to the user not an OTP code. So I'm asking if it's possible to send an OTP code instead of a link.
      The second question is I want the user to input only the email first, then after verifying the email he can them input other information like username, age, gender, fullname and password to complete the registration. Cause all the implementation I'm seeing online you must input both email and password for email verification.
      Another questions please, how to do reset password from the app. I want to be able to reset the password on the app.
      Thank you

  • @swayamshreemohantyvlogs8126
    @swayamshreemohantyvlogs8126 2 года назад

    I will going to use this in app my application. Thanks Mike

  • @cavidanbagiri7837
    @cavidanbagiri7837 2 года назад

    as always. You are number one. Thanks teacher for all of tutorials.

  • @KnowledgeWorld-LetsLearn
    @KnowledgeWorld-LetsLearn 2 года назад +1

    Thanks a lot for this video.. Was waiting for it

  • @muhammadafzal237
    @muhammadafzal237 2 года назад

    Please make video on "how to post http request from flutter to any api" or "how to post data from flutter app to any api".

  • @Yelllow_Flash
    @Yelllow_Flash 2 года назад

    I'm on watch for these tutorial series. Awesome Work.

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

    Great tutorial, well explained. All in one... Thank you for the best...

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

      You’re most welcome, Nuwan Dissanayake! 🙂

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

    THEEEE BEST, Thank you my friend

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

      You are welcome, @edilsonroque6691 😊

  • @aryanbhasein6431
    @aryanbhasein6431 6 месяцев назад

    Wonderful video!

    • @HeyFlutter
      @HeyFlutter  6 месяцев назад

      Thank you, @aryanbhasein6431! 🙂

  • @atoli1425
    @atoli1425 2 года назад

    just the thing I was waiting for, well done.

  • @jaredweinfurtner9976
    @jaredweinfurtner9976 2 года назад

    great tutorials and love the editing - perfect cadence.

  • @fatemaabdulrahman3290
    @fatemaabdulrahman3290 2 года назад

    Quick and straight to the point. Thanks!

    • @HeyFlutter
      @HeyFlutter  2 года назад +1

      You are welcome, Fatema Abdulrahman!

  • @JanardhanRay
    @JanardhanRay 2 года назад +1

    hello sir, can you help me by creating this for web app which has basic html and javascript? 🙏🙏🙏🙏🙏 thanks in advance

    • @JanardhanRay
      @JanardhanRay 2 года назад

      Sir I am saying only if you change the programing Language from dart to JavaScript.

  • @princemuleya7696
    @princemuleya7696 2 года назад +1

    hey how can i implement email-already-in-use in flutter firebase

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Thank You Prince Muleya! Follow this link: stackoverflow.com/questions/51652134/check-if-an-email-already-exists-in-firebase-auth-in-flutter-app
      I hope you will get your answer 🙂

    • @princemuleya7696
      @princemuleya7696 2 года назад

      Thank you very much sir
      It helped

    • @khabibali4967
      @khabibali4967 3 месяца назад

      @@HeyFlutter That's what I am looking for.

  • @RahulKambad007
    @RahulKambad007 2 года назад

    Great Tutorial, It helped me a lot 😀

  • @asadullah4588
    @asadullah4588 2 года назад +1

    Sir How to access your github. I already send many request's as you mentioned in your Readme but not getting any email please help me? Love from Pakistan

    • @asadullah4588
      @asadullah4588 2 года назад

      @@HeyFlutter sir I didn't get any email for confirmation of subscription.

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

    Thanks alot, for making this so easy

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

      Glad it was helpful, @syedzeerakhussaingillani6019 😀

  • @TareqAlothman
    @TareqAlothman 2 года назад +1

    Hello Johannes, thanks for another great tutorial. Unfortunately, this method will not work as FirebaseUser.emailVerified status does not get updated after clicking the link from the verification email. I am testing this on the emulator, but I am clicking on the link from the email from the browser, which is not on the emulator. The User data does not get refreshed / updated with verification status even after calling User.reload(). This is again, if the email client is on another device than the app. If you have encountered this problem and know a fix please advise. Thank you again for all your awesome tutorials.

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Hello, Tareq Alothman! Follow this link: stackoverflow.com/questions/59854615/firebase-flutter-reload-not-refreshing-user-isemailverified,
      I hope it will solve your problem. Thank You 🙂

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

      ya you are totally right, i also need its proper solution :(

  • @MoRmdn
    @MoRmdn 2 года назад

    Thank you, for your excellent work
    but I have a problem verifying emails send to the user's spam folder

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Hello, Mohamed Ramadan! Follow this link: stackoverflow.com/questions/46283859/firebase-email-verification-goes-to-spam-folder,
      I hope it will solve your problem. Thank You 🙂

  • @GuardianLinks
    @GuardianLinks 2 года назад

    Hello,please make a video how add in friend peoples as Facebook

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

    Thanks for the video! I was wondering what I should do if I want to add the user information to firestore after email verification? Is it possible? Thanks

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

      Hey 😊, @zihenghuang5980! Check out this video: ruclips.net/video/ErP_xomHKTw/видео.html This will surely help you

  • @hecroesmodejesus7016
    @hecroesmodejesus7016 2 года назад

    on your github, when i try to request a get a blank page, thanks for the video.

  • @maiahenriquevitor
    @maiahenriquevitor 2 года назад

    Thank you!!! You're amazing!

    • @HeyFlutter
      @HeyFlutter  2 года назад +1

      You’re most welcome, Vitor Henrique! 🙂

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

    Please make videos on AR CORE in flutter

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

      Thanks for the idea, Sabeeha Israr! 🙂 I have added it to my list of ideas for future videos!

  • @MillionviewsYT1
    @MillionviewsYT1 2 года назад

    keep it up bro nice job

  • @user-sc5qo7sq1n
    @user-sc5qo7sq1n 7 месяцев назад

    if we have 2 different page for sign in and log in (one for creating the account and the other for logging in, which most of the app does) then in order to avoid user logging in without verifying email we need to delete the user account as soon as he clicks cancel. even in that case there is chance user could close page by back button instead using cancel option so on login page we also need to add a check is email verified or not.

    • @HeyFlutter
      @HeyFlutter  7 месяцев назад

      Thanks for the suggestion, @user-sc5qo7sq1n! 🙂

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

    Thank you very very much

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

      You’re most welcome, Yunus Emre YILDIRIM! 🙂

  • @thompsonlaw1
    @thompsonlaw1 2 года назад

    very helpful

  • @__mothership__8475
    @__mothership__8475 2 года назад

    Firebase phone otp verification for iOS ?? any tutorial available ?

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

    Joannes, this works fine for me on the googles, although when sending out to a university email address the link is expiring due to it taking long time to arrive. Do you know which bit of code is causing this?

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

      Thank You Ramsey Merdassi! Follow this link: stackoverflow.com/questions/73107783/firebaseauthexception-firebase-auth-user-token-expired-the-users-credential
      I hope you will get your answer 🙂

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

    Hi HeyFlutter, in 2023, is it still worth it to have an email signup/signin option or just force users to use a "standard" auth provider, google signin, apple, facebook ...?

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

      Thank you, uDubRiceBoy! 🙂. People still use it in their apps.

  • @ajielesmana1602
    @ajielesmana1602 2 года назад

    what if I'm using realtime database, not cloud firestore, is this code work for it?

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

    It's not moving to verify email automatically I should do hot restart , what's the solution ?

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

      Thank You @mugdadelneama7389! Follow this link: firebase.google.com/docs/auth/flutter/email-link-auth
      I hope you will get your answer 🙂

  • @saravanaprasadk8238
    @saravanaprasadk8238 2 года назад

    i need an help at pressing login button check the email is verified or not?
    if it is not verified i need to show a toast message
    if it is verified i need to go home page

  • @gxg3368
    @gxg3368 2 года назад

    Thx

    • @HeyFlutter
      @HeyFlutter  2 года назад

      You are welcome, GxG 😊

  • @seyrow7592
    @seyrow7592 2 года назад

    Hey I have the following problem that this whole Flutter App story does not want to start on the Android emulator it always comes the following error code:
    "The command "App" is either spelled incorrectly or could not be found.
    Error: Main class org.gradle.wrapper.GradleWrapperMain could not be found or loaded.
    Cause: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain
    Exception: Gradle task assembleDebug failed with exit code 1"
    could someone please help me? :c

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

    what is formKey ? can you please make it clearer ?

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

      Hey 😊, @cakrawirajaya445! Check out this article: www.javatpoint.com/flutter-form

  • @kikalamuofficial5865
    @kikalamuofficial5865 2 года назад

    How do you do it with the Bloc Pattern?

  • @sumitsharma6896
    @sumitsharma6896 2 года назад

    I am not getting any emails and giving me this error Ignoring header X-Firebase-Locale because its value was null.

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Hello, Sumit Sharma! Follow this link: stackoverflow.com/questions/64727665/w-system-ignoring-header-x-firebase-locale-because-its-value-was-null,
      I hope it will solve your problem. Thank You 🙂

  • @GarenBisZumTod
    @GarenBisZumTod 2 года назад

    Is there a way that the user is not created until you accept the verification E-Mail? Or is he automaticly always created with the createEmailWithPassword method from firebase

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Thank You garen. exeee! Follow this link: stackoverflow.com/questions/68364731/firebase-do-not-create-users-until-email-is-verified
      I hope you will get your answer 🙂

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

    Great , How about phone number otp with firebase?

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

      Thanks for the idea, Aye Zarni Aung! 🙂 I have added it to my list of ideas for future videos!

  • @ricard458
    @ricard458 2 года назад

    Will you teach how to do phone number verification?

    • @ricard458
      @ricard458 2 года назад

      @@HeyFlutter thanks. If some day you create a vídeo about this, I will also watch it.

  • @yeryer316
    @yeryer316 2 года назад

    I want to send the verification email when they click the SignUp button with a snackbar message telling the user that they've been sent an email. I want to avoid the VerifyEmail screen. I'd like the user to go to the Homepage once they've clicked on the verify link in the email. Is this possible?

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Thank You Ramsey Merdassi! Follow this link: firebase.flutter.dev/docs/auth/usage/
      I hope you will get your answer 🙂

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

    how to email verification without firebase pls i need it

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

      Hey 😊, @amanuelgulilat2733! Check out this solution: stackoverflow.com/a/68157123

  • @soorajks5568
    @soorajks5568 2 года назад

    I got an error "Ignoring header X-Firebase-Locale because its value was null" what is the reason

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Thank You Sooraj K S! Follow this link: stackoverflow.com/questions/64727665/w-system-ignoring-header-x-firebase-locale-because-its-value-was-null
      I hope you will get your answer 🙂

    • @soorajks5568
      @soorajks5568 2 года назад

      @@HeyFlutter Thank you for the reply

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

    Hi HeyFlutter, thanks for this video, but I saw an error before that the firebase send an alert on the emulator that they blocked this device because of too many requests, I think this problem happen because of the timer.periodic function. How can I solve this problem? Does it happen on the production phase only or what? Thanks.

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

      Thank You @yx4! Follow this link: stackoverflow.com/questions/37601942/firebase-3-we-have-blocked-all-requests-from-this-device-due-to-unusual-activi
      I hope you will get your answer 🙂

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

      @@HeyFlutter Thanks

  • @dapollo1
    @dapollo1 2 года назад

    Phone authentication please

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

    can this be combined with google, facebook and twitter sign in?

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

      Thank You Jessen Jie! Follow this link: medium.com/codechai/firebase-twitter-sign-in-and-flutter-13799f0183ad
      I hope you will get your answer 🙂

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

      @@HeyFlutter Thankss

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

    niceeee

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

      Thanks, Jose Oriol Lopez! 🙂

  • @safaksenal4656
    @safaksenal4656 2 года назад

    your videos are very good. I have a request from you, can you follow and unfollow the user?

  • @prabinojha9122
    @prabinojha9122 2 года назад

    Why do you make people have to subscribe to your newsletter to get access to your source code. Can you please make it viewable without this I don't want to subscribe to what you are forcing me to subscribe to. Total scam.

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Thank You Prabin Ojha!. I showed the main functionality, which is important for this package. Learn more about it here: github.com/JohannesMilke/sponsorware

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

    nice work ,
    but when i check in rules if the account is verified or not i can not access despite of i was verified the email ?
    match /users-auth/{uid}/notes/{note_doc} {
    allow read, write: if request.auth != null && request.auth.uid == uid && request.auth.token.email_verified;
    }

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

      Thank You Aĥmêd Gâmeŝ! Follow this link: stackoverflow.com/questions/59860832/how-to-update-data-for-firebaseuser-stream-when-email-is-verified-flutter/67044680#67044680
      I hope you will get your answer 🙂

  • @abdullaharrezwan671
    @abdullaharrezwan671 2 года назад

    Utils.showSnackBar(e.toString());
    why Utils is used here?
    thanks in advanced.

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Thank you, Abdullah Ar Rezwan! 🙂. I used it to show snackbar.

  • @ricard458
    @ricard458 2 года назад

    How can we customize the email layout?

    • @pablosaas
      @pablosaas 2 года назад

      See the firebase web console > Authentication > Templates > Edit template