{"action":"created","issue":{"url":"https://api.github.com/repos/sahat/satellizer/issues/386","labels_url":"https://api.github.com/repos/sahat/satellizer/issues/386/labels{/name}","comments_url":"https://api.github.com/repos/sahat/satellizer/issues/386/comments","events_url":"https://api.github.com/repos/sahat/satellizer/issues/386/events","html_url":"https://github.com/sahat/satellizer/pull/386","id":72043435,"number":386,"title":"Toggle session and local storage","user":{"login":"TheOneTheOnlyDavidBrown","id":1423875,"avatar_url":"https://avatars.githubusercontent.com/u/1423875?v=3","gravatar_id":"","url":"https://api.github.com/users/TheOneTheOnlyDavidBrown","html_url":"https://github.com/TheOneTheOnlyDavidBrown","followers_url":"https://api.github.com/users/TheOneTheOnlyDavidBrown/followers","following_url":"https://api.github.com/users/TheOneTheOnlyDavidBrown/following{/other_user}","gists_url":"https://api.github.com/users/TheOneTheOnlyDavidBrown/gists{/gist_id}","starred_url":"https://api.github.com/users/TheOneTheOnlyDavidBrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheOneTheOnlyDavidBrown/subscriptions","organizations_url":"https://api.github.com/users/TheOneTheOnlyDavidBrown/orgs","repos_url":"https://api.github.com/users/TheOneTheOnlyDavidBrown/repos","events_url":"https://api.github.com/users/TheOneTheOnlyDavidBrown/events{/privacy}","received_events_url":"https://api.github.com/users/TheOneTheOnlyDavidBrown/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-30T02:42:30Z","updated_at":"2015-07-27T03:21:47Z","closed_at":"2015-05-06T00:48:55Z","pull_request":{"url":"https://api.github.com/repos/sahat/satellizer/pulls/386","html_url":"https://github.com/sahat/satellizer/pull/386","diff_url":"https://github.com/sahat/satellizer/pull/386.diff","patch_url":"https://github.com/sahat/satellizer/pull/386.patch"},"body":"closes #385 "},"comment":{"url":"https://api.github.com/repos/sahat/satellizer/issues/comments/125072231","html_url":"https://github.com/sahat/satellizer/pull/386#issuecomment-125072231","issue_url":"https://api.github.com/repos/sahat/satellizer/issues/386","id":125072231,"user":{"login":"tianxu0836","id":2152278,"avatar_url":"https://avatars.githubusercontent.com/u/2152278?v=3","gravatar_id":"","url":"https://api.github.com/users/tianxu0836","html_url":"https://github.com/tianxu0836","followers_url":"https://api.github.com/users/tianxu0836/followers","following_url":"https://api.github.com/users/tianxu0836/following{/other_user}","gists_url":"https://api.github.com/users/tianxu0836/gists{/gist_id}","starred_url":"https://api.github.com/users/tianxu0836/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tianxu0836/subscriptions","organizations_url":"https://api.github.com/users/tianxu0836/orgs","repos_url":"https://api.github.com/users/tianxu0836/repos","events_url":"https://api.github.com/users/tianxu0836/events{/privacy}","received_events_url":"https://api.github.com/users/tianxu0836/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T03:21:47Z","updated_at":"2015-07-27T03:21:47Z","body":"From my point of view it is not possible to change the storage based on the\nconfig value..... This really gives me lots of trouble.\n\nOn Sun, Jul 26, 2015 at 1:47 PM, Christian Kaps <notifications@github.com>\nwrote:\n\n> @TheOneTheOnlyDavidBrown <https://github.com/TheOneTheOnlyDavidBrown>\n> @sahat <https://github.com/sahat> I may be wrong, but are you both sure\n> that this works as expected. In my opinion the storage factory gets\n> initialized once based on the value defined with $authProvider.storage.\n> After that it isn't possible to change the storage based on the config\n> value. Please correct me if I'm wrong.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/sahat/satellizer/pull/386#issuecomment-125037472>.\n>\n"}}