{"action":"created","issue":{"url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/1466","repository_url":"https://api.github.com/repos/simplabs/ember-simple-auth","labels_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/1466/labels{/name}","comments_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/1466/comments","events_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/1466/events","html_url":"https://github.com/simplabs/ember-simple-auth/issues/1466","id":269060724,"number":1466,"title":"AuthenticatedRouteMixin redirects to localhost when deployed","user":{"login":"Zorig","id":1277672,"avatar_url":"https://avatars0.githubusercontent.com/u/1277672?v=4","gravatar_id":"","url":"https://api.github.com/users/Zorig","html_url":"https://github.com/Zorig","followers_url":"https://api.github.com/users/Zorig/followers","following_url":"https://api.github.com/users/Zorig/following{/other_user}","gists_url":"https://api.github.com/users/Zorig/gists{/gist_id}","starred_url":"https://api.github.com/users/Zorig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zorig/subscriptions","organizations_url":"https://api.github.com/users/Zorig/orgs","repos_url":"https://api.github.com/users/Zorig/repos","events_url":"https://api.github.com/users/Zorig/events{/privacy}","received_events_url":"https://api.github.com/users/Zorig/received_events","type":"User","site_admin":false},"labels":[{"id":102565574,"url":"https://api.github.com/repos/simplabs/ember-simple-auth/labels/triage","name":"triage","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-27T10:29:26Z","updated_at":"2017-10-27T10:35:41Z","closed_at":null,"author_association":"NONE","body":"Hi, I am using Ember Simple Auth 1.3.0 with Ember-2.15.1+ ember-cli-fastboot-1.1.0. When i try to access my admin which require Login by `AuthenticatedRouteMixin` it redirects me to `localhost/login`. on a localhost it was works fine, but server. Has anyone faced this problem???"},"comment":{"url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/comments/339936533","html_url":"https://github.com/simplabs/ember-simple-auth/issues/1466#issuecomment-339936533","issue_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/1466","id":339936533,"user":{"login":"Zorig","id":1277672,"avatar_url":"https://avatars0.githubusercontent.com/u/1277672?v=4","gravatar_id":"","url":"https://api.github.com/users/Zorig","html_url":"https://github.com/Zorig","followers_url":"https://api.github.com/users/Zorig/followers","following_url":"https://api.github.com/users/Zorig/following{/other_user}","gists_url":"https://api.github.com/users/Zorig/gists{/gist_id}","starred_url":"https://api.github.com/users/Zorig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zorig/subscriptions","organizations_url":"https://api.github.com/users/Zorig/orgs","repos_url":"https://api.github.com/users/Zorig/repos","events_url":"https://api.github.com/users/Zorig/events{/privacy}","received_events_url":"https://api.github.com/users/Zorig/received_events","type":"User","site_admin":false},"created_at":"2017-10-27T10:35:41Z","updated_at":"2017-10-27T10:35:41Z","author_association":"NONE","body":"@marcoow i did not override any of them only did change to `routeAfterAuthentication` here is my `environment.js`\r\n\r\n```\r\n    'ember-simple-auth': {\r\n      routeAfterAuthentication: 'https://localhost:4200/admin'\r\n    },\r\n    'ember-cli-head': {\r\n      suppressBrowserRender: true\r\n    }\r\n  };\r\n\r\n\r\n  if (environment === 'production') {\r\n    ENV['host'] = 'https://api.example.com'\r\n    ENV['ember-simple-auth'] = {\r\n      routeAfterAuthentication: 'https://www.zoog.mn/admin'\r\n    }\r\n  }\r\n```"}}
{"actor":{"display_login":"Zorig"}}