{"action":"created","issue":{"url":"https://api.github.com/repos/lexik/LexikJWTAuthenticationBundle/issues/126","labels_url":"https://api.github.com/repos/lexik/LexikJWTAuthenticationBundle/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/lexik/LexikJWTAuthenticationBundle/issues/126/comments","events_url":"https://api.github.com/repos/lexik/LexikJWTAuthenticationBundle/issues/126/events","html_url":"https://github.com/lexik/LexikJWTAuthenticationBundle/pull/126","id":127090968,"number":126,"title":"Use requestStack instead of request","user":{"login":"SmurfyFR","id":2379631,"avatar_url":"https://avatars.githubusercontent.com/u/2379631?v=3","gravatar_id":"","url":"https://api.github.com/users/SmurfyFR","html_url":"https://github.com/SmurfyFR","followers_url":"https://api.github.com/users/SmurfyFR/followers","following_url":"https://api.github.com/users/SmurfyFR/following{/other_user}","gists_url":"https://api.github.com/users/SmurfyFR/gists{/gist_id}","starred_url":"https://api.github.com/users/SmurfyFR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmurfyFR/subscriptions","organizations_url":"https://api.github.com/users/SmurfyFR/orgs","repos_url":"https://api.github.com/users/SmurfyFR/repos","events_url":"https://api.github.com/users/SmurfyFR/events{/privacy}","received_events_url":"https://api.github.com/users/SmurfyFR/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-17T12:10:19Z","updated_at":"2016-01-21T07:18:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lexik/LexikJWTAuthenticationBundle/pulls/126","html_url":"https://github.com/lexik/LexikJWTAuthenticationBundle/pull/126","diff_url":"https://github.com/lexik/LexikJWTAuthenticationBundle/pull/126.diff","patch_url":"https://github.com/lexik/LexikJWTAuthenticationBundle/pull/126.patch"},"body":"Hello,\r\n\r\nWith Symfony 3.0(.1), the Request service has been once for all removed from the service container. This service has been replaced by the request_stack service.\r\n\r\nThe problem was that the JWTManager is relying on the request service and as this service has been removed...\r\n\r\nI don't think it's possible to keep a backward-comptability with SF < 2.4 (ie: SF 2.3, which is a LTS ending in May 2016 ...), so maybe creating a tag could be a workaround?\r\n\r\nI remain at your disposal for any further modifications\r\n\r\nRegards,\r\n\r\nPS : Sorry for the double PR, I made mistakes trying to correct a comment type ..."},"comment":{"url":"https://api.github.com/repos/lexik/LexikJWTAuthenticationBundle/issues/comments/173481445","html_url":"https://github.com/lexik/LexikJWTAuthenticationBundle/pull/126#issuecomment-173481445","issue_url":"https://api.github.com/repos/lexik/LexikJWTAuthenticationBundle/issues/126","id":173481445,"user":{"login":"Spomky","id":1091072,"avatar_url":"https://avatars.githubusercontent.com/u/1091072?v=3","gravatar_id":"","url":"https://api.github.com/users/Spomky","html_url":"https://github.com/Spomky","followers_url":"https://api.github.com/users/Spomky/followers","following_url":"https://api.github.com/users/Spomky/following{/other_user}","gists_url":"https://api.github.com/users/Spomky/gists{/gist_id}","starred_url":"https://api.github.com/users/Spomky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spomky/subscriptions","organizations_url":"https://api.github.com/users/Spomky/orgs","repos_url":"https://api.github.com/users/Spomky/repos","events_url":"https://api.github.com/users/Spomky/events{/privacy}","received_events_url":"https://api.github.com/users/Spomky/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T07:18:37Z","updated_at":"2016-01-21T07:18:37Z","body":"A better way could be to use a compiler pass and set the request/request_stack in the constructor."}}