BankID Screen
Component Detail
User Interface
high complexity
mobile
2
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Flutter screen that initiates the BankID OAuth/OIDC authentication flow via a secure in-app browser. Presents the BankID option clearly alongside a fallback link to email/password login, and handles redirect callbacks after the user completes authentication in the BankID app or via SMS OTP.
bankid-screen
Responsibilities
- Render BankID login button and explanatory copy
- Launch secure in-app browser for OIDC redirect flow
- Handle deep-link/app_links redirect callback after BankID completion
- Display loading and error states (BankID unavailable, user cancelled)
- Surface fallback navigation to email/password login
Interfaces
initiateBankIdFlow()
handleRedirectCallback(uri: Uri)
showError(errorType: BankIdErrorType)
navigateToFallback()
Relationships
Dependencies (2)
Components this component depends on