ShipKit.one
Authentication

Google OAuth

Google OAuth sign-in setup for shipkit.

Base auth variables

BETTER_AUTH_SECRET=your_generated_secret
BETTER_AUTH_URL=https://shipkit.one
NEXT_PUBLIC_APP_URL=https://shipkit.one

Google OAuth setup

  1. Go to Google Cloud Console and create/select a project.
  2. Open "APIs & Services" → "OAuth consent screen" and complete the required fields.
  3. Add Authorized domain: shipkit.one.
  4. Create an "OAuth client ID" (Web application).
  5. Set Authorized redirect URI:
    • https://shipkit.one/api/auth/callback/google

Add to env vars:

GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret

References:

Verify the flow

  1. Click "Sign in with Google" on /login.
  2. Confirm the redirect and session creation.

On this page