Vipps Login Screen
Component Detail
User Interface
high complexity
mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Full-screen flow for initiating and completing Vipps login. Launches the Vipps OAuth2/OIDC flow, handles the redirect callback with tokens and optional personnummer, and communicates success or failure back to the auth flow coordinator.
vipps-login-screen
Responsibilities
- Render Vipps login initiation UI with branding
- Open in-app browser for Vipps OAuth2 flow
- Handle redirect URI callback including personnummer payload
- Display progress, error, and cancellation states
Interfaces
initiateVippsLogin()
handleCallback(redirectUri)
showLoadingState()
showErrorState(error)
showCancelledState()
onLoginSuccess(tokens, personnummer?)
onLoginFailure(error)