Skip to main contentWhy this is core
Launch uses Better Auth for sessions and user identity. This layer is woven into
routing, device tracking, and data access. Removing it would require a full
re-architecture, so it is not supported as a feature deletion.
Prerequisites
- You want to keep core sessions
- You only need to disable providers
Steps
- Remove provider UI entry points
- Remove provider env vars
- Restart the API
What you can disable
You can still remove providers and entry points:
- Apple Sign-In
- Google Sign-In
- Email OTP flows
Disable Apple / Google
- Remove provider UI buttons:
- Remove env vars from the API:
- Restart the API server to pick up env changes.
Better Auth only registers providers when the env vars are present, so removing
them disables the provider.
Disable Email OTP
- Remove Email Sign-In entry points and screens:
apps/mobile/app/auth/email-signin.tsx
- Remove email-specific UI hooks if unused.
- Remove
RESEND_API_KEY from the API.
What not to remove
- Session cookies and auth middleware
- Auth-related tRPC procedures used by the app
If you need a fully unauthenticated product, treat it as a new product baseline
and plan a custom refactor instead of “removing auth.”
Troubleshooting
- Provider still shows: check auth screen entry points
- Sign‑in still enabled: verify env vars are removed
Next Steps