{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/5804","labels_url":"https://api.github.com/repos/meteor/meteor/issues/5804/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/5804/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/5804/events","html_url":"https://github.com/meteor/meteor/issues/5804","id":122063767,"number":5804,"title":"allow editing oauth package end_of_redirect_reponse.js externally?","user":{"login":"voidale","id":4450730,"avatar_url":"https://avatars.githubusercontent.com/u/4450730?v=3","gravatar_id":"","url":"https://api.github.com/users/voidale","html_url":"https://github.com/voidale","followers_url":"https://api.github.com/users/voidale/followers","following_url":"https://api.github.com/users/voidale/following{/other_user}","gists_url":"https://api.github.com/users/voidale/gists{/gist_id}","starred_url":"https://api.github.com/users/voidale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voidale/subscriptions","organizations_url":"https://api.github.com/users/voidale/orgs","repos_url":"https://api.github.com/users/voidale/repos","events_url":"https://api.github.com/users/voidale/events{/privacy}","received_events_url":"https://api.github.com/users/voidale/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/Project:Accounts:OAuth","name":"Project:Accounts:OAuth","color":"c7def8"},{"url":"https://api.github.com/repos/meteor/meteor/labels/pull-requests-encouraged","name":"pull-requests-encouraged","color":"e102d8"}],"state":"open","locked":false,"assignee":{"login":"timbotnik","id":1831709,"avatar_url":"https://avatars.githubusercontent.com/u/1831709?v=3","gravatar_id":"","url":"https://api.github.com/users/timbotnik","html_url":"https://github.com/timbotnik","followers_url":"https://api.github.com/users/timbotnik/followers","following_url":"https://api.github.com/users/timbotnik/following{/other_user}","gists_url":"https://api.github.com/users/timbotnik/gists{/gist_id}","starred_url":"https://api.github.com/users/timbotnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timbotnik/subscriptions","organizations_url":"https://api.github.com/users/timbotnik/orgs","repos_url":"https://api.github.com/users/timbotnik/repos","events_url":"https://api.github.com/users/timbotnik/events{/privacy}","received_events_url":"https://api.github.com/users/timbotnik/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-12-14T15:21:14Z","updated_at":"2015-12-15T23:15:56Z","closed_at":null,"body":"The only way to allow cross different domains social login is to edit `end_of_redirect_reponse.js` window.location.\r\n\r\nfor example:\r\nmy landing page is website.com\r\nmy app is at app.webiste.com\r\n\r\nI change the end of redirect file to redirect to my app url + token `https://app.webiste.com/login?token=\"+config.credentialToken;` and I use the loginWithToken to login. \r\n\r\nThere is no problem with this case on login method popup because you can use the callback to get the token and redirect manually. \r\n\r\nAlso setting up the redirectUrl will not work because it's different domain/no access to token. Simple change but it allows cross domain login which is very useful!"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/164932744","html_url":"https://github.com/meteor/meteor/issues/5804#issuecomment-164932744","issue_url":"https://api.github.com/repos/meteor/meteor/issues/5804","id":164932744,"user":{"login":"timbotnik","id":1831709,"avatar_url":"https://avatars.githubusercontent.com/u/1831709?v=3","gravatar_id":"","url":"https://api.github.com/users/timbotnik","html_url":"https://github.com/timbotnik","followers_url":"https://api.github.com/users/timbotnik/followers","following_url":"https://api.github.com/users/timbotnik/following{/other_user}","gists_url":"https://api.github.com/users/timbotnik/gists{/gist_id}","starred_url":"https://api.github.com/users/timbotnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timbotnik/subscriptions","organizations_url":"https://api.github.com/users/timbotnik/orgs","repos_url":"https://api.github.com/users/timbotnik/repos","events_url":"https://api.github.com/users/timbotnik/events{/privacy}","received_events_url":"https://api.github.com/users/timbotnik/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T23:15:56Z","updated_at":"2015-12-15T23:15:56Z","body":"Sounds like we'd need a slightly different mechanism for setting the redirect URL.  Perhaps you can suggest how this should work?"}}