{"action":"created","issue":{"url":"https://api.github.com/repos/auth0/angular-jwt/issues/49","labels_url":"https://api.github.com/repos/auth0/angular-jwt/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/auth0/angular-jwt/issues/49/comments","events_url":"https://api.github.com/repos/auth0/angular-jwt/issues/49/events","html_url":"https://github.com/auth0/angular-jwt/issues/49","id":78584481,"number":49,"title":"Support for changing the authorization prefix.","user":{"login":"negletios","id":10745447,"avatar_url":"https://avatars.githubusercontent.com/u/10745447?v=3","gravatar_id":"","url":"https://api.github.com/users/negletios","html_url":"https://github.com/negletios","followers_url":"https://api.github.com/users/negletios/followers","following_url":"https://api.github.com/users/negletios/following{/other_user}","gists_url":"https://api.github.com/users/negletios/gists{/gist_id}","starred_url":"https://api.github.com/users/negletios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/negletios/subscriptions","organizations_url":"https://api.github.com/users/negletios/orgs","repos_url":"https://api.github.com/users/negletios/repos","events_url":"https://api.github.com/users/negletios/events{/privacy}","received_events_url":"https://api.github.com/users/negletios/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-20T16:05:08Z","updated_at":"2015-06-04T13:20:27Z","closed_at":null,"body":"Hello and congrats on the library.\r\n\r\nI would recommend to add a config function so I can change the Authorization prefix.\r\n\r\nBy default all the Requests are being send with the prefix: Authorization: Bearer [Token] \r\n\r\nIn my case, I must send it with Authorization: JWT [Token].\r\n\r\nI can change it by modifying the library itself (this.authPrefix = 'Bearer '; ) but it would be nice If I could do it straight from my code. \r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/auth0/angular-jwt/issues/comments/108896632","html_url":"https://github.com/auth0/angular-jwt/issues/49#issuecomment-108896632","issue_url":"https://api.github.com/repos/auth0/angular-jwt/issues/49","id":108896632,"user":{"login":"mikedon","id":206809,"avatar_url":"https://avatars.githubusercontent.com/u/206809?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedon","html_url":"https://github.com/mikedon","followers_url":"https://api.github.com/users/mikedon/followers","following_url":"https://api.github.com/users/mikedon/following{/other_user}","gists_url":"https://api.github.com/users/mikedon/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedon/subscriptions","organizations_url":"https://api.github.com/users/mikedon/orgs","repos_url":"https://api.github.com/users/mikedon/repos","events_url":"https://api.github.com/users/mikedon/events{/privacy}","received_events_url":"https://api.github.com/users/mikedon/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T13:20:27Z","updated_at":"2015-06-04T13:20:27Z","body":"I need this as well on my project.  If the owners think this is a good feature to have then I don't mind working on a pull request"}}