BankID Flow Screen
Component Detail
User Interface
high complexity
mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Primary mobile screen that initiates and manages the BankID authentication flow. Displays loading and redirect states while the certified broker handles BankID UI, then routes the user to account linking or home on callback resolution.
bankid-flow-screen
Responsibilities
- Trigger BankID authentication by calling /auth/bankid/initiate and launching the broker via in-app browser
- Receive and forward the OIDC callback code and state to the BankID Integration Service
- Display loading, processing, and error states throughout the flow
- Route to account-linking screen when identity cannot be automatically resolved
- Navigate to the role-specific home screen on successful session creation
Interfaces
initiateBankId()
handleCallback(code, state)
showLinkingPrompt(verifiedIdentity)
onAuthSuccess(session)
onAuthError(error)