keycloak_flutter icon indicating copy to clipboard operation
keycloak_flutter copied to clipboard

isLoggedIn and authenticated always false

Open Saidjamol opened this issue 2 years ago • 2 comments

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

Saidjamol avatar Aug 30 '23 14:08 Saidjamol

facing the same issue. Any updates on this one?

akshatjain-beam avatar Jan 22 '25 07:01 akshatjain-beam

Just fork it and update the JS adapter, and it will definitely work.

suhailzoft avatar Mar 07 '25 18:03 suhailzoft