{"action":"created","issue":{"url":"https://api.github.com/repos/auth0/angular2-jwt/issues/208","repository_url":"https://api.github.com/repos/auth0/angular2-jwt","labels_url":"https://api.github.com/repos/auth0/angular2-jwt/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/auth0/angular2-jwt/issues/208/comments","events_url":"https://api.github.com/repos/auth0/angular2-jwt/issues/208/events","html_url":"https://github.com/auth0/angular2-jwt/issues/208","id":185421830,"number":208,"title":"AuthHttpError being thrown after update","user":{"login":"rbaumi","id":16101090,"avatar_url":"https://avatars.githubusercontent.com/u/16101090?v=3","gravatar_id":"","url":"https://api.github.com/users/rbaumi","html_url":"https://github.com/rbaumi","followers_url":"https://api.github.com/users/rbaumi/followers","following_url":"https://api.github.com/users/rbaumi/following{/other_user}","gists_url":"https://api.github.com/users/rbaumi/gists{/gist_id}","starred_url":"https://api.github.com/users/rbaumi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbaumi/subscriptions","organizations_url":"https://api.github.com/users/rbaumi/orgs","repos_url":"https://api.github.com/users/rbaumi/repos","events_url":"https://api.github.com/users/rbaumi/events{/privacy}","received_events_url":"https://api.github.com/users/rbaumi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-26T15:07:36Z","updated_at":"2016-11-27T20:03:02Z","closed_at":null,"body":"Hi!\n\n   I have just updated **angular2 to version 2.1.1** and **angular2-jwt to version 0.1.25** and when running simple code:\n\n``` ts\nthis.authHttp.get('/api/users').subscribe(\n    data =>  console.log(data),\n    err => console.log(err),\n    () => console.log('Request Complete')\n);\n```\n\nI get `AuthHttpError {}` and **no ajax call is made to the server**! Before the updates it worked fine! In my NgModule in providers I have:\n\n``` ts\nprovideAuth({\n    headerName: 'Authorization',\n    headerPrefix: 'Bearer',\n    tokenName: 'jwt',\n    globalHeaders: [{ 'Content-Type': 'application/json' }],\n}),\n```\n\nAny idea what the problem could be?\n"},"comment":{"url":"https://api.github.com/repos/auth0/angular2-jwt/issues/comments/263143781","html_url":"https://github.com/auth0/angular2-jwt/issues/208#issuecomment-263143781","issue_url":"https://api.github.com/repos/auth0/angular2-jwt/issues/208","id":263143781,"user":{"login":"jdhiro","id":2919453,"avatar_url":"https://avatars.githubusercontent.com/u/2919453?v=3","gravatar_id":"","url":"https://api.github.com/users/jdhiro","html_url":"https://github.com/jdhiro","followers_url":"https://api.github.com/users/jdhiro/followers","following_url":"https://api.github.com/users/jdhiro/following{/other_user}","gists_url":"https://api.github.com/users/jdhiro/gists{/gist_id}","starred_url":"https://api.github.com/users/jdhiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdhiro/subscriptions","organizations_url":"https://api.github.com/users/jdhiro/orgs","repos_url":"https://api.github.com/users/jdhiro/repos","events_url":"https://api.github.com/users/jdhiro/events{/privacy}","received_events_url":"https://api.github.com/users/jdhiro/received_events","type":"User","site_admin":false},"created_at":"2016-11-27T20:03:02Z","updated_at":"2016-11-27T20:03:02Z","body":"I'm trying to use this in the latest Ionic 2, and I get an empty AuthHttpError no matter what I try doing. I've tried the workaround, I've poured over the docs, nothing. I've spent hours on this, trying to get a basic Ionic 2 app trying to authenticate with Auth0. I must be missing something..."}}
{"actor":{"display_login":"jdhiro"}}