toolcacheAI Coding Prompts › Authentication System Designer

Authentication System Designer

Design a complete authentication system for [APPLICATION TYPE].

Requirements:
- [EMAIL/PASSWORD / SOCIAL LOGIN / SSO / MFA]
- Framework: [NEXT.JS / EXPRESS / DJANGO / RAILS / OTHER]

Provide:
1. **Auth Flow Diagrams**: Sign up, login, password reset, session management
2. **Database Schema**: Users table, sessions/tokens, password reset tokens
3. **API Endpoints**: All auth routes with request/response schemas
4. **Security Implementation**:
   - Password hashing (bcrypt config)
   - JWT vs session tokens (recommendation with reasoning)
   - CSRF protection
   - Rate limiting on auth endpoints
   - Account lockout after failed attempts
5. **Code Implementation**: Full working code for signup, login, middleware, password reset
6. **Email Templates**: Verification, password reset, security alert
7. **Testing Plan**: Security test cases to verify
🔒

Unlock this prompt

You have 5 free unlocks remaining

or
Get unlimited access from £2.99 →

How to use this prompt

Copy the prompt above and paste it into ChatGPT, Claude, Gemini, or any AI assistant. Replace the bracketed placeholders with your specific details.

Leave a Review

Tried this prompt? Let us know how it worked — your reviews help other users find the best prompts.

Get Unlimited Access →Browse All 2,400 Prompts