keycloak_flutter
keycloak_flutter copied to clipboard
isLoggedIn and authenticated always false
Description of the bug
Even after AuthEventType.onAuthSuccess the method keycloakService.isLoggedIn() and keycloakService.authenticated returns false
- [ ]
Steps to reproduce
keycloakService.login()
Expected behavior
AuthEventType.onAuthSuccess the authenticated should return true
Logs
No response
Screenshots
No response
Platform
Linux
Browser
Firefox
Keycloak web version
21.0.0
Keycloak flutter version
0.0.21
Flutter version
3.13.1
Flutter channel
stable
Additional context
[✓] Flutter (Channel stable, 3.13.1, on macOS 13.5.1 22G90 darwin-x64, locale en-AF)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] Connected device (3 available)
[✓] Network resources
facing the same issue. Any updates on this one?
Just fork it and update the JS adapter, and it will definitely work.