Start a new project on Google Cloud (opens in a new tab).
Navigate to APIs & Services and then to Credentials.
Configure Consent Screen and fill in details.
Include userinfo.email & userinfo.profile in scope and add yourself as a test user; then submit.
Under Credentials, select
Create Credentials and then
Oauth Client ID, opting for
Input the Client ID in GOOGLE_ID and Client Secret in GOOGLE_SECRET on your Supabase dashboard (Authentication > Providers > Google).
Oauth Consent Screen, publish the app and submit it for verification.
Prepare for verification, fill in necessary information, and respond to Google's email to initiate the process. Verify your domain with Google Search Console.
Google login will work immediately on localhost and will function with a warning in production until verification is complete (usually a few days).