Skip to content

An example Flutter application implementing the sign-in flow using Google and Supabase

Notifications You must be signed in to change notification settings

wawandco/Google-Authentication-w-Flutter

Repository files navigation

Flutter authentication using Google and Supabase

This is an example Flutter application that implements an authentication flow by using Google and Supabase packages.

Alt text

Getting Started

To run the project, you need to complete the overview steps to configure your supabase project. Then you will need to setup a new .env folder and a dev.json file inside this with the following values:

{
    "SUPABASE_URL": "https://<supabase_project_id>.supabase.co",
    "SUPABASE_ANON": "<supabase_anon>",
    "GOOGLE_WEB_CLIENT_ID": "<web_client_id>.apps.googleusercontent.com"
}

To run the project

Once you have the previous step, run the following command and then select the desired device

flutter run --dart-define-from-file=.env/dev.json --web-port=3000

About

An example Flutter application implementing the sign-in flow using Google and Supabase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published