Authentication
User authentication and account management
Authentication
Greendex provides a secure authentication system for users to access their accounts and manage their organizations.
Overview
The authentication system includes:
- User registration (signup)
- Login with email/password
- Password reset functionality
- Email verification
- Social login providers (Google, GitHub)
Authentication Flow
Sign Up
New users can create an account by:
- Visiting the signup page
- Providing email and password
- Verifying their email address
- Being redirected to create an organization
Login
Existing users can log in by:
- Visiting the login page
- Entering their credentials
- Being redirected to their dashboard
Password Reset
If a user forgets their password:
- Click "Forgot Password" on the login page
- Enter their email address
- Receive a reset link via email
- Create a new password
Security Features
- Secure password hashing
- Email verification required
- Session management
- Protected routes for authenticated users