Configure Features
You configure authentication providers and feature flags in src/convex/auth.constants.ts
.
Start with a minimal setup and add more as you go.
Quick start
Enable classic email/password sign in:
src/convex/auth.constants.ts
Optionally add links to your Terms and Privacy to show them on sign in screens:
src/convex/auth.constants.ts
Providers
Toggle the providers you want to offer. OAuth providers require you to create an app at the respective provider and configure client credentials in your environment (not covered here).
Example: enable GitHub and Google
Key | Type | Description |
---|---|---|
keypass | boolean | Enable Sign in with Passkey (WebAuthn). |
password | boolean | Enable Sign in with email/password. |
emailOTP | boolean | Enable Sign in with One-time code via email. Requires sendEmails: true . See Sending Emails. |
magicLink | boolean | Enable Passwordless sign in via magic link email. Requires sendEmails: true . See Sending Emails. |
Social Providers | ||
github | boolean | Enable Sign in with GitHub. |
google | boolean | Enable Sign in with Google. |
facebook | boolean | Enable Sign in with Facebook. |
apple | boolean | Enable Sign in with Apple. |
atlassian | boolean | Enable Sign in with Atlassian. |
discord | boolean | Enable Sign in with Discord. |
figma | boolean | Enable Sign in with Figma. |
line | boolean | Enable Sign in with LINE. |
huggingface | boolean | Enable Sign in with Hugging Face. |
kakao | boolean | Enable Sign in with Kakao. |
kick | boolean | Enable Sign in with Kick. |
paypal | boolean | Enable Sign in with PayPal. |
salesforce | boolean | Enable Sign in with Salesforce. |
slack | boolean | Enable Sign in with Slack. |
notion | boolean | Enable Sign in with Notion. |
naver | boolean | Enable Sign in with Naver. |
tiktok | boolean | Enable Sign in with TikTok. |
twitch | boolean | Enable Sign in with Twitch. |
x | boolean | Enable Sign in with X (formerly Twitter). |
dropbox | boolean | Enable Sign in with Dropbox. |
linear | boolean | Enable Sign in with Linear. |
gitlab | boolean | Enable Sign in with GitLab. |
reddit | boolean | Enable Sign in with Reddit. |
roblox | boolean | Enable Sign in with Roblox. |
spotify | boolean | Enable Sign in with Spotify. |
vk | boolean | Enable Sign in with VK (VKontakte). |
zoom | boolean | Enable Sign in with Zoom. |
Feature flags
Key | Type | Description |
---|---|---|
organizations | boolean | Activate organization features (switcher, membership, invites). Requires sendEmails: true . See Organizations. |
sendEmails | boolean | Activate to send transactional emails (verification, OTP, magic links, invites). Required for emailOTP , magicLink , and organizations . See Sending Emails. |
validateEmails | boolean | Validate emails on sign-up to prevent typos and bounces. See Validate Emails. |
terms | string | URL to your Terms of Service (e.g. /terms ). Displayed on sign in. |
privacy | string | URL to your Privacy Policy (e.g. /privacy ). Displayed on sign in. |
Example: password + magic link with email validation
src/convex/auth.constants.ts