{"action":"created","issue":{"url":"https://api.github.com/repos/jpadilla/ember-cli-simple-auth-token/issues/53","labels_url":"https://api.github.com/repos/jpadilla/ember-cli-simple-auth-token/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/jpadilla/ember-cli-simple-auth-token/issues/53/comments","events_url":"https://api.github.com/repos/jpadilla/ember-cli-simple-auth-token/issues/53/events","html_url":"https://github.com/jpadilla/ember-cli-simple-auth-token/issues/53","id":74460076,"number":53,"title":"buildToken(): session.[tokenPropertyName] or session.secure.[tokenPropertyName]?","user":{"login":"ericestes","id":1759620,"avatar_url":"https://avatars.githubusercontent.com/u/1759620?v=3","gravatar_id":"","url":"https://api.github.com/users/ericestes","html_url":"https://github.com/ericestes","followers_url":"https://api.github.com/users/ericestes/followers","following_url":"https://api.github.com/users/ericestes/following{/other_user}","gists_url":"https://api.github.com/users/ericestes/gists{/gist_id}","starred_url":"https://api.github.com/users/ericestes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericestes/subscriptions","organizations_url":"https://api.github.com/users/ericestes/orgs","repos_url":"https://api.github.com/users/ericestes/repos","events_url":"https://api.github.com/users/ericestes/events{/privacy}","received_events_url":"https://api.github.com/users/ericestes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-08T18:57:38Z","updated_at":"2015-05-15T14:14:17Z","closed_at":null,"body":"It looks like buildToken() is looking for the token in session.[tokenPropertyName], which fails because the token is saved in session.secure.[tokenPropertyName]. This is preventing the token from being passed in the Authorization header.\r\n\r\nShould buildToken() be looking in session.secure? Or is there a config error on my end?"},"comment":{"url":"https://api.github.com/repos/jpadilla/ember-cli-simple-auth-token/issues/comments/102410356","html_url":"https://github.com/jpadilla/ember-cli-simple-auth-token/issues/53#issuecomment-102410356","issue_url":"https://api.github.com/repos/jpadilla/ember-cli-simple-auth-token/issues/53","id":102410356,"user":{"login":"jpadilla","id":83319,"avatar_url":"https://avatars.githubusercontent.com/u/83319?v=3","gravatar_id":"","url":"https://api.github.com/users/jpadilla","html_url":"https://github.com/jpadilla","followers_url":"https://api.github.com/users/jpadilla/followers","following_url":"https://api.github.com/users/jpadilla/following{/other_user}","gists_url":"https://api.github.com/users/jpadilla/gists{/gist_id}","starred_url":"https://api.github.com/users/jpadilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpadilla/subscriptions","organizations_url":"https://api.github.com/users/jpadilla/orgs","repos_url":"https://api.github.com/users/jpadilla/repos","events_url":"https://api.github.com/users/jpadilla/events{/privacy}","received_events_url":"https://api.github.com/users/jpadilla/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T14:14:16Z","updated_at":"2015-05-15T14:14:16Z","body":"Apparently I had fixed this a while back but never pushed changes. Could you try with latest master which also uses `0.8.0-beta.2`?"}}