1. Authentication Checklist
Authentication is more than a login screen. A production app must confirm who the user is and keep private pages protected.
Check:
- Users can sign up and log in reliably
- Sessions persist correctly
- Logout works properly
- Password reset, magic link, or OAuth flow works if used
- Private pages require a valid session
- Logged-out users cannot access dashboards by direct URL
- Admin pages require admin status
- Auth redirects work in production
- Auth callback URLs use the production domain
- Session expiry does not break the app unexpectedly
Red flags
Your app is not production-ready if private pages are only hidden in the navigation, if admin pages can be opened by direct URL, or if authentication only works in the preview environment.
