-
Notifications
You must be signed in to change notification settings - Fork 127
Description
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'