{"action":"created","issue":{"url":"https://api.github.com/repos/nolanlawson/pouchdb-authentication/issues/45","labels_url":"https://api.github.com/repos/nolanlawson/pouchdb-authentication/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/nolanlawson/pouchdb-authentication/issues/45/comments","events_url":"https://api.github.com/repos/nolanlawson/pouchdb-authentication/issues/45/events","html_url":"https://github.com/nolanlawson/pouchdb-authentication/issues/45","id":94699860,"number":45,"title":"db.getSession not working in IE 11","user":{"login":"nakulsaini","id":5734854,"avatar_url":"https://avatars.githubusercontent.com/u/5734854?v=3","gravatar_id":"","url":"https://api.github.com/users/nakulsaini","html_url":"https://github.com/nakulsaini","followers_url":"https://api.github.com/users/nakulsaini/followers","following_url":"https://api.github.com/users/nakulsaini/following{/other_user}","gists_url":"https://api.github.com/users/nakulsaini/gists{/gist_id}","starred_url":"https://api.github.com/users/nakulsaini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nakulsaini/subscriptions","organizations_url":"https://api.github.com/users/nakulsaini/orgs","repos_url":"https://api.github.com/users/nakulsaini/repos","events_url":"https://api.github.com/users/nakulsaini/events{/privacy}","received_events_url":"https://api.github.com/users/nakulsaini/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-13T11:31:03Z","updated_at":"2015-07-25T17:48:42Z","closed_at":null,"body":"We are using pouchdb-authentication as authentication process for PouchDB.\r\nIts working great with Firefox and Chrome but not in IE.\r\n\r\nFor example: \r\n```javascript\r\ndb.getSession(function (err, response) {\r\n        console.log(JSON.stringify(response));\r\n});\r\n```\r\nResponse in Firefox/Chrome:\r\n```\r\n{\"ok\":true,\"userCtx\":{\"name\":\"admin\",\"roles\":[\"admin\"]},\"info\":{\"authentication_db\":\"_users\",\"authentication_handlers\":[\"oauth\",\"cookie\",\"default\"],\"authenticated\":\"cookie\"}}\r\n```\r\nResponse in IE:\r\n```\r\n{\"ok\":true,\"userCtx\":{\"name\":null,\"roles\":[]},\"info\":{\"authentication_db\":\"_users\",\"authentication_handlers\":[\"oauth\",\"cookie\",\"default\"]}}\r\n```\r\nIs there any specific option for IE we are missing or it needs some configuration over CouchDB?"},"comment":{"url":"https://api.github.com/repos/nolanlawson/pouchdb-authentication/issues/comments/124866902","html_url":"https://github.com/nolanlawson/pouchdb-authentication/issues/45#issuecomment-124866902","issue_url":"https://api.github.com/repos/nolanlawson/pouchdb-authentication/issues/45","id":124866902,"user":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"created_at":"2015-07-25T17:48:42Z","updated_at":"2015-07-25T17:48:42Z","body":"Hm, how did you enable CORS? If you used `add-cors-to-couchdb`, it's possible that there's still a header missing for IE11 to work properly. I've definitely seen lots of cross-browser differences when it comes to CORS."}}