Authentication
Providers
Social sign-in providers supported by the buyer portal.
The buyer portal (acg-protal) uses Better Auth for buyer accounts. Two providers are supported:
Email + password
Enabled by default. New signups receive a verification email and a $0 starter balance on the dashboard.
Google OAuth (optional)
To enable Google sign-in, set both env vars in .env.local:
AUTH_GOOGLE_ID=...
AUTH_GOOGLE_SECRET=...Create the OAuth client at https://console.cloud.google.com/apis/credentials. The redirect URI is ${NEXT_PUBLIC_APP_URL}/api/auth/callback/google.
The Google button appears automatically when both env vars are set.
Disabling a provider
There is no per-provider kill switch today. To temporarily disable Google, simply unset one of the env vars. The button will disappear on next deploy.