Commit Graph

3 Commits

Author SHA1 Message Date
Dani B
eacfa0d705 feat(01-06): enhance auth repository with comprehensive password reset
- Added comprehensive error handling for password reset scenarios
- Integrated logging for debugging password reset flows
- Enhanced password strength validation before updates
- Improved error messages for expired/invalid tokens
- Added proper session handling after password changes
- Better user feedback with detailed error mapping

Files:
- lib/features/authentication/data/repositories/auth_repository_impl.dart
- pubspec.yaml
2026-01-28 12:07:03 -05:00
Dani B
e56dd26fef feat(01-06): create password update page with validation
- Implemented UpdatePasswordPage with password strength indicator
- Added password validation utility with comprehensive checks
- Enhanced AuthProvider with updatePasswordFromReset method
- Extended AuthRepository interface and implementation for password reset
- Added InvalidTokenException to auth exception hierarchy
- Includes accessibility features and error handling
- Password strength indicator with real-time feedback

Files:
- lib/features/authentication/presentation/pages/update_password_page.dart
- lib/core/utils/password_validator.dart
- lib/providers/auth_provider.dart
- lib/features/authentication/domain/repositories/auth_repository.dart
- lib/features/authentication/data/repositories/auth_repository_impl.dart
- lib/core/errors/auth_exceptions.dart
2026-01-28 12:05:15 -05:00
Dani B
294d53774b feat(01-04): implement AuthRepository with Supabase
- Complete AuthRepositoryImpl using supabase.auth methods
- Handles all auth operations: signUp, signIn, signOut, resetPassword
- Maps Supabase User to AuthUser model
- Converts Supabase errors to custom exceptions
- Implements OAuth and anonymous sign-in methods
- Includes proper error handling and null safety
- Follows repository pattern with clean architecture
2026-01-28 10:36:54 -05:00