Go Sail bookkeeping admin

This app now uses Google sign-in as the front door for the Bookeo and QuickBooks admin surface. Sensitive live data and OAuth actions are available only to authenticated admin email addresses.

Admin access flow

  1. Set the required Better Auth, Google OAuth, and admin email environment variables.
  2. Sign in with Google using an allowed admin address.
  3. Open the dashboard to inspect connection health and run read-only Bookeo diagnostics.
  4. Start QuickBooks OAuth only from the protected dashboard.
Required Vercel env:
DATABASE_URL=<runtime pooled Postgres URL>
DIRECT_URL=<direct Postgres URL for schema deploys>
BETTER_AUTH_URL=https://qbo.coxshall.com
BETTER_AUTH_SECRET=<openssl rand -base64 32>
ADMIN_EMAILS=admin@example.com,second-admin@example.com
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
QBO_CLIENT_ID=
QBO_CLIENT_SECRET=
QBO_REDIRECT_URI=https://qbo.coxshall.com/api/qbo/oauth/callback
QBO_TOKEN_ENCRYPTION_KEY=<openssl rand -base64 32>

Hosted app URL:
https://qbo.coxshall.com