Files
unionflow-client-quarkus-pr…/unionflow-mobile-apps/pubspec.yaml
DahoudG f89f6167cc feat(mobile): Implement Keycloak WebView authentication with HTTP callback
- Replace flutter_appauth with custom WebView implementation to resolve deep link issues
- Add KeycloakWebViewAuthService with integrated WebView for seamless authentication
- Configure Android manifest for HTTP cleartext traffic support
- Add network security config for development environment (192.168.1.11)
- Update Keycloak client to use HTTP callback endpoint (http://192.168.1.11:8080/auth/callback)
- Remove obsolete keycloak_auth_service.dart and temporary scripts
- Clean up dependencies and regenerate injection configuration
- Tested successfully on multiple Android devices (Xiaomi 2201116TG, SM A725F)

BREAKING CHANGE: Authentication flow now uses WebView instead of external browser
- Users will see Keycloak login page within the app instead of browser redirect
- Resolves ERR_CLEARTEXT_NOT_PERMITTED and deep link state management issues
- Maintains full OIDC compliance with PKCE flow and secure token storage

Technical improvements:
- WebView with custom navigation delegate for callback handling
- Automatic token extraction and user info parsing from JWT
- Proper error handling and user feedback
- Consistent authentication state management across app lifecycle
2025-09-15 01:44:16 +00:00

70 lines
1.3 KiB
YAML

name: unionflow_mobile_apps
description: "Projet Union Flow pour la gestion d'associations et assimilés."
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ^3.5.3
dependencies:
flutter:
sdk: flutter
# Dependencies de base testées
cupertino_icons: ^1.0.8
flutter_bloc: ^8.1.6
equatable: ^2.0.5
dio: ^5.7.0
fl_chart: ^0.66.2
intl: ^0.19.0
# Authentication (versions compatibles)
flutter_secure_storage: ^9.2.2
jwt_decoder: ^2.0.1
crypto: ^3.0.5
shared_preferences: ^2.3.2
flutter_appauth: ^6.0.2
webview_flutter: ^4.4.2
# HTTP
pretty_dio_logger: ^1.4.0
# DI (versions stables)
get_it: ^7.7.0
injectable: ^2.4.4
# JSON serialization
json_annotation: ^4.9.0
# UI Components
cached_network_image: ^3.4.1
shimmer: ^3.0.0
pull_to_refresh: ^2.0.0
# Utils
uuid: ^4.5.1
url_launcher: ^6.3.1
permission_handler: ^11.3.1
package_info_plus: ^8.0.2
flutter_staggered_animations: ^1.1.1
# Export/Import
excel: ^4.0.6
csv: ^6.0.0
pdf: ^3.11.1
path_provider: ^2.1.4
file_picker: ^8.1.2
share_plus: ^10.0.2
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^4.0.0
injectable_generator: ^2.6.2
build_runner: ^2.4.13
json_serializable: ^6.8.0
mockito: ^5.4.4
flutter:
uses-material-design: true