{"action":"opened","issue":{"url":"https://api.github.com/repos/grevory/angular-local-storage/issues/205","labels_url":"https://api.github.com/repos/grevory/angular-local-storage/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/grevory/angular-local-storage/issues/205/comments","events_url":"https://api.github.com/repos/grevory/angular-local-storage/issues/205/events","html_url":"https://github.com/grevory/angular-local-storage/issues/205","id":63467065,"number":205,"title":"angular local storage  clearAll  bug","user":{"login":"srikondoji","id":8431542,"avatar_url":"https://avatars.githubusercontent.com/u/8431542?v=3","gravatar_id":"","url":"https://api.github.com/users/srikondoji","html_url":"https://github.com/srikondoji","followers_url":"https://api.github.com/users/srikondoji/followers","following_url":"https://api.github.com/users/srikondoji/following{/other_user}","gists_url":"https://api.github.com/users/srikondoji/gists{/gist_id}","starred_url":"https://api.github.com/users/srikondoji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srikondoji/subscriptions","organizations_url":"https://api.github.com/users/srikondoji/orgs","repos_url":"https://api.github.com/users/srikondoji/repos","events_url":"https://api.github.com/users/srikondoji/events{/privacy}","received_events_url":"https://api.github.com/users/srikondoji/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-21T23:34:39Z","updated_at":"2015-03-21T23:34:39Z","closed_at":null,"body":"We are using  v0.1.5 - 2014-11-04  angular local storage.\r\n\r\nOur configuration looks like below, if that helps\r\n        localStorageServiceProvider.setPrefix('Twittume');\r\n        localStorageServiceProvider.setStorageType('sessionStorage');\r\n        localStorageServiceProvider.setStorageCookie(30, '/');\r\n        localStorageServiceProvider.setStorageCookieDomain('https://www.twittume.com');\r\n\r\nThe bug is, if  a user  logged out  and during logout we do local storage clear all  and then tries to\r\nlog back in, in the same browser window/tab, our application is running into issues.\r\nHowever, after logging out, if we refresh the browser window/tab and log back in, our application works as expected.\r\n\r\nNot sure, if clear all is causing an issue, preventing us to use the same browser window/tab to use for logging in. \r\nI can reproduce this in Firefox, Chrome and also safari."}}