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.oneGitHub OAuth setup
- Go to GitHub Developer Settings.
- Create a new OAuth App.
- Set:
- Homepage URL:
https://shipkit.one - Authorization callback URL:
https://shipkit.one/api/auth/callback/github
- Homepage URL:
- Save and copy the Client ID/Secret.
Add to env vars:
GITHUB_CLIENT_ID=your_github_client_id
GITHUB_CLIENT_SECRET=your_github_client_secretReferences:
Verify the flow
- Click "Sign in with GitHub" on
/login. - Confirm the redirect and session creation.