{"action":"created","issue":{"url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/398","labels_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/398/labels{/name}","comments_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/398/comments","events_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/398/events","html_url":"https://github.com/simplabs/ember-simple-auth/pull/398","id":54320655,"number":398,"title":"Authorize cross domain requests to all subdomain of host using wildcard","user":{"login":"dukex","id":91538,"avatar_url":"https://avatars.githubusercontent.com/u/91538?v=3","gravatar_id":"","url":"https://api.github.com/users/dukex","html_url":"https://github.com/dukex","followers_url":"https://api.github.com/users/dukex/followers","following_url":"https://api.github.com/users/dukex/following{/other_user}","gists_url":"https://api.github.com/users/dukex/gists{/gist_id}","starred_url":"https://api.github.com/users/dukex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dukex/subscriptions","organizations_url":"https://api.github.com/users/dukex/orgs","repos_url":"https://api.github.com/users/dukex/repos","events_url":"https://api.github.com/users/dukex/events{/privacy}","received_events_url":"https://api.github.com/users/dukex/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-14T13:16:01Z","updated_at":"2015-01-15T19:42:54Z","closed_at":"2015-01-15T19:42:47Z","pull_request":{"url":"https://api.github.com/repos/simplabs/ember-simple-auth/pulls/398","html_url":"https://github.com/simplabs/ember-simple-auth/pull/398","diff_url":"https://github.com/simplabs/ember-simple-auth/pull/398.diff","patch_url":"https://github.com/simplabs/ember-simple-auth/pull/398.patch"},"body":"Add a easy to developers enable request for all subdomain, like\r\n\r\n```\r\nENV['simple-auth'] = {\r\n  crossOriginWhitelist: ['http://*.other.domain']\r\n}\r\n````\r\n\r\nThat is important for multitenancy application, in many cases the server get the correct client data by subdomain, today using simple-auth is necessary put a [*] on crossOriginWhitelist and check url on authorizer "},"comment":{"url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/comments/70148270","html_url":"https://github.com/simplabs/ember-simple-auth/pull/398#issuecomment-70148270","issue_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/398","id":70148270,"user":{"login":"marcoow","id":1510,"avatar_url":"https://avatars.githubusercontent.com/u/1510?v=3","gravatar_id":"","url":"https://api.github.com/users/marcoow","html_url":"https://github.com/marcoow","followers_url":"https://api.github.com/users/marcoow/followers","following_url":"https://api.github.com/users/marcoow/following{/other_user}","gists_url":"https://api.github.com/users/marcoow/gists{/gist_id}","starred_url":"https://api.github.com/users/marcoow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcoow/subscriptions","organizations_url":"https://api.github.com/users/marcoow/orgs","repos_url":"https://api.github.com/users/marcoow/repos","events_url":"https://api.github.com/users/marcoow/events{/privacy}","received_events_url":"https://api.github.com/users/marcoow/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T19:42:54Z","updated_at":"2015-01-15T19:42:54Z","body":"Cool, thanks!"}}