{"action":"created","issue":{"url":"https://api.github.com/repos/sahat/satellizer/issues/305","labels_url":"https://api.github.com/repos/sahat/satellizer/issues/305/labels{/name}","comments_url":"https://api.github.com/repos/sahat/satellizer/issues/305/comments","events_url":"https://api.github.com/repos/sahat/satellizer/issues/305/events","html_url":"https://github.com/sahat/satellizer/issues/305","id":59642100,"number":305,"title":"Facebook login on windows IE9 not working","user":{"login":"alonle","id":1208501,"avatar_url":"https://avatars.githubusercontent.com/u/1208501?v=3","gravatar_id":"","url":"https://api.github.com/users/alonle","html_url":"https://github.com/alonle","followers_url":"https://api.github.com/users/alonle/followers","following_url":"https://api.github.com/users/alonle/following{/other_user}","gists_url":"https://api.github.com/users/alonle/gists{/gist_id}","starred_url":"https://api.github.com/users/alonle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alonle/subscriptions","organizations_url":"https://api.github.com/users/alonle/orgs","repos_url":"https://api.github.com/users/alonle/repos","events_url":"https://api.github.com/users/alonle/events{/privacy}","received_events_url":"https://api.github.com/users/alonle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-03T13:36:24Z","updated_at":"2015-03-04T02:42:44Z","closed_at":null,"body":"I have tried to login with Facebook to your example(https://satellizer.herokuapp.com) with IE9 on windows vista:\r\nI'm getting the error:\r\n\"The redirect_uri URL must be absolute\"\r\nCan you please check?\r\nThanks"},"comment":{"url":"https://api.github.com/repos/sahat/satellizer/issues/comments/77087217","html_url":"https://github.com/sahat/satellizer/issues/305#issuecomment-77087217","issue_url":"https://api.github.com/repos/sahat/satellizer/issues/305","id":77087217,"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-03-04T02:42:44Z","updated_at":"2015-03-04T02:42:44Z","body":"I don't have Windows Vista or IE9 unfortunately. I can guess and say the problem is here:\r\n```js\r\nredirectUri: window.location.origin || window.location.protocol + '//' + window.location.host,\r\n```\r\n\r\nAlthough, I added that `||` (OR) part specifically to handle Internet Explorer that does not support `window.location.origin`.\r\n\r\nThe quick and easy way to fix the problem is by overriding `redirectUri` and hard-coding the URL yourself to http://localhost:3000` or `http://yoursite.com` when you set up a provider in `.config` block. "}}