{"action":"created","issue":{"url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/548","labels_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/548/labels{/name}","comments_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/548/comments","events_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/548/events","html_url":"https://github.com/simplabs/ember-simple-auth/issues/548","id":85645295,"number":548,"title":"Cannot read property 'replace' of null","user":{"login":"dylanfoster","id":5842737,"avatar_url":"https://avatars.githubusercontent.com/u/5842737?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanfoster","html_url":"https://github.com/dylanfoster","followers_url":"https://api.github.com/users/dylanfoster/followers","following_url":"https://api.github.com/users/dylanfoster/following{/other_user}","gists_url":"https://api.github.com/users/dylanfoster/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanfoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanfoster/subscriptions","organizations_url":"https://api.github.com/users/dylanfoster/orgs","repos_url":"https://api.github.com/users/dylanfoster/repos","events_url":"https://api.github.com/users/dylanfoster/events{/privacy}","received_events_url":"https://api.github.com/users/dylanfoster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-05T22:18:33Z","updated_at":"2015-06-07T21:41:42Z","closed_at":null,"body":"Uncaught TypeError: Cannot read property 'replace' of null\r\nextractLocationOrigin @ simple-auth.amd.js:1228\r\n(anonymous function) @ simple-auth.amd.js:1306\r\n__exports__.default @ simple-auth.amd.js:1305\r\ninitialize @ simple-auth.js:9\r\n(anonymous function) @ ember.debug.js:4108\r\n(anonymous function) @ ember.debug.js:4131\r\nvisit @ ember.debug.js:2147\r\nDAG.topsort @ ember.debug.js:2259\r\nNamespace.default.extend._runInitializer @ ember.debug.js:4130\r\nNamespace.default.extend.runInitializers @ ember.debug.js:4104\r\nNamespace.default.extend.boot @ ember.debug.js:4020\r\nNamespace.default.extend.domReady @ ember.debug.js:4004\r\nBackburner.run @ ember.debug.js:224\r\nBackburner.join @ ember.debug.js:247\r\nrun.join @ ember.debug.js:15904\r\nrun.bind @ ember.debug.js:15966\r\njQuery.Callbacks.fire @ jquery.js:3148\r\njQuery.Callbacks.self.fireWith @ jquery.js:3260\r\njQuery.extend.ready @ jquery.js:3472\r\ncompleted @ jquery.js:3503\r\n\r\nThe offending line is [here](https://github.com/simplabs/ember-simple-auth/blob/master/packages/ember-simple-auth/lib/simple-auth/setup.js#L13)\r\n\r\nI have just a basic setup from the docs, with a custom authenticator, authorizer and session with a session injector."},"comment":{"url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/comments/109802005","html_url":"https://github.com/simplabs/ember-simple-auth/issues/548#issuecomment-109802005","issue_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/548","id":109802005,"user":{"login":"dylanfoster","id":5842737,"avatar_url":"https://avatars.githubusercontent.com/u/5842737?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanfoster","html_url":"https://github.com/dylanfoster","followers_url":"https://api.github.com/users/dylanfoster/followers","following_url":"https://api.github.com/users/dylanfoster/following{/other_user}","gists_url":"https://api.github.com/users/dylanfoster/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanfoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanfoster/subscriptions","organizations_url":"https://api.github.com/users/dylanfoster/orgs","repos_url":"https://api.github.com/users/dylanfoster/repos","events_url":"https://api.github.com/users/dylanfoster/events{/privacy}","received_events_url":"https://api.github.com/users/dylanfoster/received_events","type":"User","site_admin":false},"created_at":"2015-06-07T21:41:42Z","updated_at":"2015-06-07T21:41:42Z","body":"It shouldn't be, this is all in a vagrant environment using docker-compose.\r\n\r\ndocker-compose.yml\r\n\r\n```yaml\r\nember:\r\n  image: node:latest\r\n  command: node_modules/.bin/ember serve\r\n  environment:\r\n    NODE_ENV: development\r\n    REST_ENDPOINT: http://localhost:3000 # set REST_ENPOINT\r\n  ports:\r\n    - \"4202:4202\"\r\n    - \"35731:35731\"\r\n  volumes:\r\n    - .:/data/app\r\n```"}}