Draft: feat(mobile): migrate Flutter app to Keycloak OIDC authentication
requested to merge 613-migrate-flutter-mobile-app-to-keycloak-oidc-authentication-main-el-salvador-branches- into main
Summary
- Migrate Flutter mobile app from legacy auth to Keycloak OIDC (Authorization Code + PKCE)
- Restore mobile authentication after legacy endpoints removal (MR !36 (merged))
- Align mobile auth with web/backend architecture (token passthrough, JWKS validation)
Planning Artifacts
- PRD, architecture, epic breakdown, and sprint status tracking committed
- 6 epics, 22 stories, 6 retrospectives
Implementation Plan
See epics breakdown in _bmad-output/planning-artifacts/epics.md
Test plan
-
Unit tests for auth logic (TokenStorage, AuthState, AuthNotifier, AuthInterceptor) -
Integration tests on Android (login, refresh, logout, error scenarios) -
CI pipeline on Android -
Manual testing per story acceptance criteria
Closes #613 (closed)