BankID 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 BankID authentication. Launches the BankID OAuth2/OIDC flow via an in-app browser, handles redirect callbacks, and presents loading, error, and cancellation states to the user.
bankid-login-screen
Responsibilities
- Render BankID provider selection and initiation UI
- Open in-app browser for BankID OAuth2 flow
- Handle redirect URI callback and extract authorization code
- Display authentication progress, error, and cancellation states
Interfaces
initiateBankIdLogin()
handleCallback(redirectUri)
showLoadingState()
showErrorState(error)
showCancelledState()
onLoginSuccess(tokens)
onLoginFailure(error)