openid_client
openid_client copied to clipboard
Unable to logout the user from in-app browser.
We are building an app using Flutter framework. We are using the flutter_webview_plugin to login/logout a user out of our application. The login works fine. However, the logout does not work. We have tried following approaches with the issue we are facing-
-
Calling the logout URL Issue - The session is not logged out even though we get 200 ok response on the logout url. The logged out user gets automatically signed in as soon as the user is redirected to the original login page after logout. In case where we try killing the app before reopening it to login, the code is deemed to be invalid.
-
using _authenticator.logout() method The code does not compile with this in place. Following error is thrown - '../../../.pub-cache/hosted/pub.dev/openid_client-0.4.7/lib/openid_client_browser.dart:2:8: Error: Dart library 'dart:html' is not available on this platform'
- sion is not logged out even though we
Hi, are you building a Flutter web app? I also need to implement logout in my web app. I'm using this package with Keycloak.