bizz84 / firebase_auth_demo_flutter

Reference Authentication Flow with Flutter & Firebase
https://codewithandrea.com/
MIT License
670 stars 178 forks source link

Reference Authentication Flow with Flutter & Firebase

This forked project has been upgraded to the latest packages.

Codemagic build status

YouTube video walk-throughs here:

Flutter & Firebase: Reference Authentication Flow - Intro

Flutter & Firebase: Authentication Service with Provider & ValueNotifier

This project shows how to implement a full authentication flow in Flutter, using various Firebase sign-in methods.

It aims to be a reference implementation. Think of it as "authentication done right".

Project goals

This project shows how to:

Feel free to use this in your own projects. 😉

NOTE: This project will be kept up to date with the latest packages and Flutter version.

Preview

Google Sign-in

Facebook Sign-in

Email & Password auth

Simplified widget tree

FirebaseAuth features

Supported sign-in methods

Link account with third-party providers

Other authentication features

Application features

Sign-in Page

Email & password page

Email link page

Authentication

Architecture

Other

TODO

Running the project with Firebase

To use this project with Firebase authentication, some configuration steps are required.

See this document for full instructions:

Additional setup instructions for Google and Facebook sign-in:

Additional References

A lot of the techniques used in this project are explained in great detail, and implemented step-by-step in my Flutter & Firebase Udemy course.

This is available for early access at this link (discount code included):

License: MIT