User Interface medium complexity mobilefrontend
0
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

The primary authentication screen presented to all user types at app launch. It collects email and password credentials and provides inline validation feedback before submission. Displays error states returned from the auth service and navigates to the appropriate home screen on success.

Feature: Email & Password Login

login-screen

Sources & reasoning

Line 42 explicitly designates email/password as the MVP login method, with BankID/Vipps deferred to Fase 2. Line 319 repeats this in the Fase 1 MVP scope list. This is the entry-point authentication mechanism that unblocks all other features at launch, mapping to MVP by ordinal phase position.

Responsibilities

  • Render email and password input fields with client-side format validation
  • Submit credentials to AuthService and surface error messages to the user
  • Manage loading state during async authentication requests
  • Navigate to role-appropriate home screen after successful login

Interfaces

onSubmit(email: string, password: string): void
setError(message: string): void
setLoading(state: boolean): void