Why 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:
apps/mobile/app/auth/*
- Remove env vars from the API:
APPLE_*andGOOGLE_*
- Restart the API server to pick up env changes.
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_KEYfrom the API.
What not to remove
- Session cookies and auth middleware
- Auth-related tRPC procedures used by the app
Troubleshooting
- Provider still shows: check auth screen entry points
- Sign‑in still enabled: verify env vars are removed