PasskeyRegistrationScreen
Component Detail
User Interface
medium complexity
frontendmobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Full-screen flow for registering a new passkey on the user's device. Guides the user through the biometric/PIN prompt and confirms successful credential creation. Surfaces error states for unsupported devices or user cancellation.
passkey-registration-screen
Sources & reasoning
Passkeys are not explicitly mentioned in the source documentation. The feature is required by the authoritative blueprint which assigns it to Authentication & Access Control at v1.1. Target release v1.1 follows the blueprint's phase assignment; no earlier phase evidence exists in the source doc, and the feature is clearly post-BankID/Vipps (Fase 2) in any logical delivery sequence.
No source references — this artifact was included based on reasoning alone (see above).
Responsibilities
- Initiate registration by requesting a server challenge
- Trigger platform authenticator prompt via WebAuthn API
- Display success confirmation with passkey nickname input
- Handle and display device-not-supported and cancellation errors
Interfaces
startRegistration(): Promise<void>
onRegistrationSuccess(credentialId: string): void
onRegistrationError(error: WebAuthnError): void