ForgotPasswordScreen
Component Detail
User Interface
medium complexity
mobilefrontend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
The password recovery screen that allows users to request a reset link by submitting their registered email address. It calls AuthService to trigger the reset email and shows appropriate confirmation or error feedback. A follow-up reset-confirmation view handles the token-based new password submission.
forgot-password-screen
Sources & reasoning
Lines 42 and 319 both explicitly mark email/password as the MVP authentication method while deferring BankID and Vipps to Phase 2. Phase 1 = MVP by ordinal mapping. The feature is foundational - no other platform capability works without authenticated sessions.
-
docs/source/likeperson.md · line 42MVP leveres med e-post/passord-innlogging; BankID og Vipps ruller ut i Fase 2
-
docs/source/likeperson.md · line 319E-post/passord innlogging (BankID/Vipps i fase 2)
Responsibilities
- Render email input field and submit button for reset requests
- Call AuthService to send a password reset email and display confirmation feedback
- Validate email format before submission
- Handle and display server-side errors such as unknown email addresses
Interfaces
handleResetRequest(email: string): Promise<void>
handlePasswordUpdate(token: string, newPassword: string): Promise<void>
navigateToLogin(): void