You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jim Trainor (JIRA)" <ji...@apache.org> on 2016/05/19 16:04:12 UTC

[jira] [Created] (CB-11297) WKWebView clear all cookies

Jim Trainor created CB-11297:
--------------------------------

             Summary: WKWebView clear all cookies
                 Key: CB-11297
                 URL: https://issues.apache.org/jira/browse/CB-11297
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin WKWebViewEngine
    Affects Versions: 1.0.0
         Environment: Cordova iOS 9
            Reporter: Jim Trainor


The WKWebView needs some means to clear all cookies and the session cache.

I am using WKWebView combined with the Google Identity Toolkit to perform user authentication. I user cannot completely sign out if there is no means to clear all cached cookies.  I can remove the authentication token that is used by my application to access my site. However when the user signs back in, via the google identity toolkit, they do not need to enter a password.  This is the behaviour one expects if running in a standard desktop browser where the login is shared by several web sites.  It is not the behaviour one expects in application.  The way to totally and completely logout in a desktop scenario is to manually clear the browser cache. The way to accomplish the same in the an application is for the application to clear the cache - or at least the cached cookies.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org