{"action":"created","issue":{"url":"https://api.github.com/repos/kahmali/meteor-restivus/issues/126","labels_url":"https://api.github.com/repos/kahmali/meteor-restivus/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/kahmali/meteor-restivus/issues/126/comments","events_url":"https://api.github.com/repos/kahmali/meteor-restivus/issues/126/events","html_url":"https://github.com/kahmali/meteor-restivus/issues/126","id":101650479,"number":126,"title":"Restivus not working (CORS issues) with MDG's force-ssl package","user":{"login":"satyavh","id":3264269,"avatar_url":"https://avatars.githubusercontent.com/u/3264269?v=3","gravatar_id":"","url":"https://api.github.com/users/satyavh","html_url":"https://github.com/satyavh","followers_url":"https://api.github.com/users/satyavh/followers","following_url":"https://api.github.com/users/satyavh/following{/other_user}","gists_url":"https://api.github.com/users/satyavh/gists{/gist_id}","starred_url":"https://api.github.com/users/satyavh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satyavh/subscriptions","organizations_url":"https://api.github.com/users/satyavh/orgs","repos_url":"https://api.github.com/users/satyavh/repos","events_url":"https://api.github.com/users/satyavh/events{/privacy}","received_events_url":"https://api.github.com/users/satyavh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-18T13:03:01Z","updated_at":"2015-08-20T08:14:49Z","closed_at":null,"body":"When you use MDG's native Force-SSL package, CORS doesn't work because force-ssl redirects every requests, even if the request is already an `https` request. And in that redirect you lose the options response. \r\n\r\nNot sure if Restivus can have a workaround for this...imo force-ssl shouldn't redirect https requests to https. But I thought to mention this issue here anyway, you might want to include it in the docs.\r\n\r\nReproduce: just add force-ssl and access your API via SSL."},"comment":{"url":"https://api.github.com/repos/kahmali/meteor-restivus/issues/comments/132929258","html_url":"https://github.com/kahmali/meteor-restivus/issues/126#issuecomment-132929258","issue_url":"https://api.github.com/repos/kahmali/meteor-restivus/issues/126","id":132929258,"user":{"login":"satyavh","id":3264269,"avatar_url":"https://avatars.githubusercontent.com/u/3264269?v=3","gravatar_id":"","url":"https://api.github.com/users/satyavh","html_url":"https://github.com/satyavh","followers_url":"https://api.github.com/users/satyavh/followers","following_url":"https://api.github.com/users/satyavh/following{/other_user}","gists_url":"https://api.github.com/users/satyavh/gists{/gist_id}","starred_url":"https://api.github.com/users/satyavh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satyavh/subscriptions","organizations_url":"https://api.github.com/users/satyavh/orgs","repos_url":"https://api.github.com/users/satyavh/repos","events_url":"https://api.github.com/users/satyavh/events{/privacy}","received_events_url":"https://api.github.com/users/satyavh/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T08:14:49Z","updated_at":"2015-08-20T08:14:49Z","body":"So you confirmed this issue? If confirmed, I will definitely report an issue to MDG"}}