title: Firebase Phone Authorization Flutter Web
body: <p><a href="https://firebase.google.com/docs/auth/web/phone-auth" rel="nofollow noreferrer">https://firebase.google.com/docs/auth/web/phone-auth</a></p>
  
  <p>Is it possible to authorize users through their phone number using Flutter for a web app, and if so, how? I was thinking you might be able to use the JS package with Dart, but I am a bit stuck.</p>
  
  <p>I know how to make firebase phone auth work for mobile, but I'm struggling to get it to work with web. </p>
  
  <pre><code>FirebaseAuth.instance.verifyPhoneNumber(
      phoneNumber: number,
      timeout: const Duration(seconds: 5),
      verificationCompleted: verificationCompleted,
      verificationFailed: verificationFailed,
      codeSent: codeSent,
      codeAutoRetrievalTimeout: codeAutoRetrievalTimeout);
   }
  </code></pre>