Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 926 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 926 Bytes

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