---
title: "Discussion on \"Firebase phone authentication(Flutter).\" | Hashnode"
description: "Discussion on \"Firebase phone authentication(Flutter).\". INTRO\nPhone authentication comes in handy when you want to verify the user's phone number. In the world of cybersecurity, this is known as two-factor authentication.\nWelcome to my first blog post. I appreciate blogs, am not so much into creating them..."
url: "https://hashnode.com/posts/firebase-phone-authenticationflutter/608fcf13cebc886374b84bca"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Firebase phone authentication(Flutter).](https://hashnode.com/post/firebase-phone-authenticationflutter?utm_source=hashnode&utm_medium=feed)

INTRO Phone authentication comes in handy when you want to verify the user's phone number. In the world of cybersecurity, this is known as two-factor authentication. Welcome to my first blog post. I appreciate blogs, am not so much into creating them...

May 3, 2021 · 3 min read · hashnode.com  
Read the article

-   [#flutter](https://hashnode.com/tag/flutter)
-   [#firebase](https://hashnode.com/tag/firebase)

## Written by

[Peter Musembi](https://hashnode.com/@Musembi)

@Musembi

  
[View profile](https://hashnode.com/@Musembi)

Make stuff

## Responses 1

Markdown supported · ⌘↵ to post

[Patrick Waweru](https://hashnode.com/@iampato)

[May 3, 2021](https://hashnode.com/posts/firebase-phone-authenticationflutter/608fcf13cebc886374b84bca/comment/609006aedc886b4318007d30)

The above code should fail if you update the plugins to the latest versions:

here is my answer on StackOverflow on the solution: [stackoverflow.com/questions/62348754/the-sms-code…](https://stackoverflow.com/questions/62348754/the-sms-code-has-expired-please-re-send-the-verification-code-to-try-again-flu/67267298#67267298)

[Peter Musembi](https://hashnode.com/@Musembi)

[May 3, 2021](https://hashnode.com/posts/firebase-phone-authenticationflutter/608fcf13cebc886374b84bca/comment/609006aedc886b4318007d30#reply-60900f83dc886b4318007def)

Thank u for the comment. The article is inline with the docs below. [firebase.flutter.dev/docs/auth/phone](https://firebase.flutter.dev/docs/auth/phone) However, I will test the code with updated plugins.
