{"action":"created","issue":{"url":"https://api.github.com/repos/sahat/satellizer/issues/680","labels_url":"https://api.github.com/repos/sahat/satellizer/issues/680/labels{/name}","comments_url":"https://api.github.com/repos/sahat/satellizer/issues/680/comments","events_url":"https://api.github.com/repos/sahat/satellizer/issues/680/events","html_url":"https://github.com/sahat/satellizer/issues/680","id":122445916,"number":680,"title":"0.13 is broke on iOS9 Safari/Chrome/Firefox","user":{"login":"aligajani","id":1730778,"avatar_url":"https://avatars.githubusercontent.com/u/1730778?v=3","gravatar_id":"","url":"https://api.github.com/users/aligajani","html_url":"https://github.com/aligajani","followers_url":"https://api.github.com/users/aligajani/followers","following_url":"https://api.github.com/users/aligajani/following{/other_user}","gists_url":"https://api.github.com/users/aligajani/gists{/gist_id}","starred_url":"https://api.github.com/users/aligajani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aligajani/subscriptions","organizations_url":"https://api.github.com/users/aligajani/orgs","repos_url":"https://api.github.com/users/aligajani/repos","events_url":"https://api.github.com/users/aligajani/events{/privacy}","received_events_url":"https://api.github.com/users/aligajani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"sahat","id":544954,"avatar_url":"https://avatars.githubusercontent.com/u/544954?v=3","gravatar_id":"","url":"https://api.github.com/users/sahat","html_url":"https://github.com/sahat","followers_url":"https://api.github.com/users/sahat/followers","following_url":"https://api.github.com/users/sahat/following{/other_user}","gists_url":"https://api.github.com/users/sahat/gists{/gist_id}","starred_url":"https://api.github.com/users/sahat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahat/subscriptions","organizations_url":"https://api.github.com/users/sahat/orgs","repos_url":"https://api.github.com/users/sahat/repos","events_url":"https://api.github.com/users/sahat/events{/privacy}","received_events_url":"https://api.github.com/users/sahat/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2015-12-16T07:30:46Z","updated_at":"2015-12-20T14:11:49Z","closed_at":null,"body":"It just does not login and redirect back to the landing page. Using Facebook provider. \r\n\r\nOn Firefox, it opens up 2 windows, one Facebook popup, which goes like domain/?code=blah.\r\n\r\nThen, in the original website window, the website has apparently logged in. \r\n\r\nIn Safari, it simply redirects to the landing page and does nothing. Popups Facebook for a while though.\r\n\r\nChrome is the same as Safari. \r\n"},"comment":{"url":"https://api.github.com/repos/sahat/satellizer/issues/comments/166119727","html_url":"https://github.com/sahat/satellizer/issues/680#issuecomment-166119727","issue_url":"https://api.github.com/repos/sahat/satellizer/issues/680","id":166119727,"user":{"login":"sahat","id":544954,"avatar_url":"https://avatars.githubusercontent.com/u/544954?v=3","gravatar_id":"","url":"https://api.github.com/users/sahat","html_url":"https://github.com/sahat","followers_url":"https://api.github.com/users/sahat/followers","following_url":"https://api.github.com/users/sahat/following{/other_user}","gists_url":"https://api.github.com/users/sahat/gists{/gist_id}","starred_url":"https://api.github.com/users/sahat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahat/subscriptions","organizations_url":"https://api.github.com/users/sahat/orgs","repos_url":"https://api.github.com/users/sahat/repos","events_url":"https://api.github.com/users/sahat/events{/privacy}","received_events_url":"https://api.github.com/users/sahat/received_events","type":"User","site_admin":false},"created_at":"2015-12-20T14:11:49Z","updated_at":"2015-12-20T14:11:49Z","body":"I wasn't aware of a timeout issue. Will run some tests and try to come up with a solution. As for redirecting to the homepage inside a popup, that was the simplest solution at the time of writing this library. Ideally I'd like a popup to redirect to a custom page whose only responsibility is parsing `code` or `access_token` string. It could be a blank HTML page or custom page that says \"Loading...\", this page is where you could also potentially display an error message if URL contains `error` query string.\r\n\r\nThis could be easily achieved by asking users of this library to include an additional file like `oauth_callback.html`, adding a route in app.js, and redirecting OAuth providers to that page  `http://localhost:3000/oauth_callback.html` instead of `http://localhost:3000`. However, I would prefer a more elegant solution, one that does not require additional files, but a self-contained solution within satellizer.js file. The only reason it has to redirect back to site root is so that satellizer.js could be loaded and check for the presence of `code` / `access_token` query param."}}