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
This commit is contained in:
29
bash.exe.stackdump
Normal file
29
bash.exe.stackdump
Normal file
@@ -0,0 +1,29 @@
|
||||
Stack trace:
|
||||
Frame Function Args
|
||||
0007FFFFB740 00021005FE8E (000210285F68, 00021026AB6E, 0007FFFFB740, 0007FFFFA640) msys-2.0.dll+0x1FE8E
|
||||
0007FFFFB740 0002100467F9 (000000000000, 000000000000, 000000000000, 0007FFFFBA18) msys-2.0.dll+0x67F9
|
||||
0007FFFFB740 000210046832 (000210286019, 0007FFFFB5F8, 0007FFFFB740, 000000000000) msys-2.0.dll+0x6832
|
||||
0007FFFFB740 000210068CF6 (000000000000, 000000000000, 000000000000, 000000000000) msys-2.0.dll+0x28CF6
|
||||
0007FFFFB740 000210068E24 (0007FFFFB750, 000000000000, 000000000000, 000000000000) msys-2.0.dll+0x28E24
|
||||
0007FFFFBA20 00021006A225 (0007FFFFB750, 000000000000, 000000000000, 000000000000) msys-2.0.dll+0x2A225
|
||||
End of stack trace
|
||||
Loaded modules:
|
||||
000100400000 bash.exe
|
||||
7FFA67730000 ntdll.dll
|
||||
7FFA65550000 KERNEL32.DLL
|
||||
7FFA64820000 KERNELBASE.dll
|
||||
7FFA67430000 USER32.dll
|
||||
7FFA64C00000 win32u.dll
|
||||
000210040000 msys-2.0.dll
|
||||
7FFA653C0000 GDI32.dll
|
||||
7FFA64EA0000 gdi32full.dll
|
||||
7FFA65260000 msvcp_win.dll
|
||||
7FFA64FD0000 ucrtbase.dll
|
||||
7FFA66490000 advapi32.dll
|
||||
7FFA654A0000 msvcrt.dll
|
||||
7FFA653F0000 sechost.dll
|
||||
7FFA64C30000 bcrypt.dll
|
||||
7FFA67310000 RPCRT4.dll
|
||||
7FFA63FB0000 CRYPTBASE.DLL
|
||||
7FFA64C60000 bcryptPrimitives.dll
|
||||
7FFA66E50000 IMM32.DLL
|
||||
Reference in New Issue
Block a user