Social Providers
Enable one-click sign-in with popular OAuth providers like GitHub, Google, Discord, and more. Nearly 30 social providers are supported through better-auth.
Activate a provider
Set a provider to true in your auth constants to enable it:
Each provider requires OAuth credentials (Client ID and Client Secret). The provider links below guide you through obtaining these credentials from each provider’s developer portal.
Note
Important: When following the Better Auth setup guides linked below, only complete the first step (getting your OAuth credentials). Skip the configuration and implementation steps - The auth components have all the setup already built in and only needs to be enabled in
auth.constants.ts.
Supported providers
The following OAuth providers are supported. Click a provider to view its setup documentation on the Better Auth docs:
- GitHub — Popular for developer tools and open-source projects
- Google — Widely used for consumer and business apps
- Apple — Required for iOS apps using social login
- Facebook — Broad reach for social and marketplace apps
- Discord — Perfect for gaming and community platforms
- Slack — Ideal for workplace and productivity tools
- Twitch — Streaming and gaming communities
- Spotify — Music and audio applications
- X (Twitter) — Social media integration
- Reddit — Community-driven platforms
- LinkedIn — Professional networking apps
- GitLab — DevOps and CI/CD tools
- Linear — Project management integrations
- Notion — Knowledge base and documentation tools
- Figma — Design tool integrations
- Dropbox — File storage and sharing apps
- Atlassian — Jira and Confluence integrations
- Salesforce — CRM and sales tools
- PayPal — Payment and e-commerce platforms
- Zoom — Video conferencing integrations
- TikTok — Short-form video platforms
- Roblox — Gaming platforms
- HuggingFace — AI and ML tools
- Line — Popular in Asian markets
- Naver — Korean search and portal
- Kakao — Korean messaging and services
- VK — Russian social network
- Kick — Live streaming platform
Note
After enabling a provider, you’ll need to configure the OAuth callback URL in your provider’s dashboard. The callback URL follows the pattern:
https://your-domain.com/api/auth/callback/[provider-name]