Hello Netlify Team,
I’m building an AI SaaS application called AI Mockup Studio using Next.js, Firebase Authentication, and Netlify.
I would like to request improvements and best practices for authentication workflows on Netlify.
Current authentication methods include:
- Email & Password
- Google OAuth
- GitHub OAuth
- Magic Link Sign-in
- Password Reset
- Email Verification
- Session Management
I’m looking for guidance on:
- Secure authentication with Next.js App Router.
- Protecting server-side routes and API endpoints.
- Handling authentication during deployment on Netlify.
- Best practices for JWT/session management.
- Middleware authentication examples.
- Recommended production architecture.
Project:
AI Mockup Studio
Tech Stack:
- Next.js
- React
- TypeScript
- Tailwind CSS
- Firebase Authentication
- Firestore
- Cloud Storage
- Netlify
Any documentation, examples, or recommendations would be greatly appreciated.
Thank you!