RegisterScreen
Component Detail
User Interface
medium complexity
mobilefrontend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
The account creation screen that collects new user credentials and profile information required to create a Meander account. It enforces password strength rules and email format validation before calling AuthService to register the account. On success it redirects the user to the login flow or directly into the app depending on configuration.
register-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
- Collect and validate email, password, and confirmation password inputs
- Enforce password strength and matching rules before submission
- Call AuthService to create a new account and handle API errors
- Navigate to LoginScreen on successful registration or display inline errors
Interfaces
handleRegister(email: string, password: string, confirmPassword: string): Promise<void>
validatePasswordStrength(password: string): ValidationResult
navigateToLogin(): void