ThexXTURBOXx / flutter_web_auth_2

Flutter plugin for authenticating a user with a web service
https://pub.dev/packages/flutter_web_auth_2
MIT License
53 stars 54 forks source link

Clear webview cache #66

Closed zanelladev closed 1 year ago

zanelladev commented 1 year ago

I'm facing a problem in a code, I'm using the library to log in, working! But to log out, I need to clear the cache and cookies from the last login, I haven't found a way.

Do you already have a feature for this? Any idea how to solve this?

ThexXTURBOXx commented 1 year ago

Duplicate of #49. Basically, you cannot easily clear the cookies and/or cache currently. However, if there is an endpoint which performs the logout process, you should be able to call that using just another call to authenticate