ShipKit.one
Authentication

GitHub OAuth

GitHub 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

GitHub OAuth setup

  1. Go to GitHub Developer Settings.
  2. Create a new OAuth App.
  3. Set:
    • Homepage URL: https://shipkit.one
    • Authorization callback URL: https://shipkit.one/api/auth/callback/github
  4. Save and copy the Client ID/Secret.

Add to env vars:

GITHUB_CLIENT_ID=your_github_client_id
GITHUB_CLIENT_SECRET=your_github_client_secret

References:

Verify the flow

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

On this page