Shipkit
DocsFeaturesPricing
DocsFeaturesPricing

Command Palette

Search for a command to run...

Shipkit DocumentationBuild memory optimizationDevelopment GuideEnvironment VariablesError HandlingFile StructureMiddlewareRebranding Guide

Vercel Deployment Checks

Development GuideCLIDependency UpdatesDevToolsFeature FlagsAI PromptsSetup RequirementsSupply chaintRPCWeb Workers

FeaturesAIAnalytics IntegrationAuthenticationCMSDatabaseEmailHapticsPaymentsComponent RegistryStorageUIVisual BuilderWaitlist Feature

Quick StartDeploymentEnvironment VariablesFile StructureSetup Wizard

Caching & Rate LimitingContent ManagementError HandlingMarkdown and MDXMiddlewareProxy-Safe Server ActionsRebranding GuideWebhook Security Implementation GuideMulti-Zone ArchitectureVercel Deployment

IntegrationsPayload CMSDataFast Analytics IntegrationGoogle Analytics IntegrationGoogle Tag Manager IntegrationPostHogStatSig IntegrationUmami Analytics IntegrationAuth.js IntegrationBetter AuthClerkStack Auth IntegrationSupabase Authentication IntegrationBuilder.io IntegrationPayload CMS IntegrationAWS S3 IntegrationResend Email IntegrationUpstash Redis IntegrationVercel Blob IntegrationLemon SqueezyPolarStripe

API RoutesComponentsAPI Route SnippetsAuthentication SnippetsComponent SnippetsForm Handling SnippetsSnippets Introduction

Auth.js Integration

Auth.js (NextAuth.js v5) is Shipkit's default authentication library. It comes pre-configured and supports 40+ OAuth providers.

Quick Setup

# Required
AUTH_SECRET=your_secret_key_here
AUTH_URL=https://yourdomain.com

# Optional - Add OAuth providers
AUTH_GITHUB_ID=your_github_client_id
AUTH_GITHUB_SECRET=your_github_client_secret
AUTH_GOOGLE_ID=your_google_client_id
AUTH_GOOGLE_SECRET=your_google_client_secret

Key Features

  • ✅ 40+ OAuth providers (Google, GitHub, Discord, etc.)
  • ✅ Email/password authentication
  • ✅ Magic link authentication
  • ✅ Session management
  • ✅ JWT tokens
  • ✅ CSRF protection

Popular OAuth Providers

Major Platforms: Google, GitHub, Discord, Microsoft, Facebook, Apple Developer Tools: Bitbucket, GitLab, Vercel, Netlify Communication: Slack, Teams, Zoom

Advanced Configuration

For database sessions or custom email:

# Database sessions (optional)
AUTH_DB_URL=your_database_url

# Custom email (optional)
AUTH_EMAIL_FROM=noreply@yourdomain.com
AUTH_EMAIL_SERVER=smtp://user:pass@smtp.example.com:587

Learn More

  • Main Authentication Guide
  • Auth.js Documentation
  • OAuth Setup Guide