{"action":"created","issue":{"url":"https://api.github.com/repos/api-platform/api-platform/issues/617","repository_url":"https://api.github.com/repos/api-platform/api-platform","labels_url":"https://api.github.com/repos/api-platform/api-platform/issues/617/labels{/name}","comments_url":"https://api.github.com/repos/api-platform/api-platform/issues/617/comments","events_url":"https://api.github.com/repos/api-platform/api-platform/issues/617/events","html_url":"https://github.com/api-platform/api-platform/issues/617","id":307038408,"number":617,"title":"[Question] Handling exceptions in security layer not working","user":{"login":"Ronnie-J","id":7793111,"avatar_url":"https://avatars0.githubusercontent.com/u/7793111?v=4","gravatar_id":"","url":"https://api.github.com/users/Ronnie-J","html_url":"https://github.com/Ronnie-J","followers_url":"https://api.github.com/users/Ronnie-J/followers","following_url":"https://api.github.com/users/Ronnie-J/following{/other_user}","gists_url":"https://api.github.com/users/Ronnie-J/gists{/gist_id}","starred_url":"https://api.github.com/users/Ronnie-J/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ronnie-J/subscriptions","organizations_url":"https://api.github.com/users/Ronnie-J/orgs","repos_url":"https://api.github.com/users/Ronnie-J/repos","events_url":"https://api.github.com/users/Ronnie-J/events{/privacy}","received_events_url":"https://api.github.com/users/Ronnie-J/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-03-20T21:05:47Z","updated_at":"2018-03-21T08:02:48Z","closed_at":null,"author_association":"NONE","body":"Hi guys.\r\n\r\nI use the LexikJWTAuthenticationBundle in order to handle OAuth JWT tokens. When a token fails the validation I get an unhandled exception with StackTrace.\r\n\r\n```\r\n{\r\n    \"statusCode\": 500,\r\n    \"headers\": [],\r\n    \"class\": \"Auth0\\\\SDK\\\\Exception\\\\CoreException\",\r\n    \"file\": \"/srv/api-platform/vendor/auth0/auth0-php/src/JWTVerifier.php\",\r\n    \"line\": 139,\r\n    \"message\": \"Expired token\",\r\n    \"code\": 0,\r\n    \"previous\": null,\r\n    \"allPrevious\": [],\r\n    \"trace\": [\r\n        {\r\n            \"namespace\": \"\",\r\n            \"short_class\": \"\",\r\n            \"class\": \"\",\r\n            \"type\": \"\",\r\n            \"function\": \"\",\r\n            \"file\": \"/srv/api-platform/vendor/auth0/auth0-php/src/JWTVerifier.php\",\r\n            \"line\": 139,\r\n            \"args\": []\r\n        },\r\n        {\r\n            \"namespace\": \"Auth0\\\\SDK\",\r\n            \"short_class\": \"JWTVerifier\",\r\n            \"class\": \"Auth0\\\\SDK\\\\JWTVerifier\",\r\n            \"type\": \"->\",\r\n            \"function\": \"verifyAndDecode\",\r\n            \"file\": \"/srv/api-platform/vendor/auth0/jwt-auth-bundle/src/Security/Auth0Service.php\",\r\n            \"line\": 78,\r\n            \"args\": [\r\n                [\r\n                    \"string\",\r\n                    \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ik5UQTROelV4TWpJMFFVUkdNakl6UkVGR01UUXdPRVF5TlVNMFF6RTFNekl5TVRWRU9FWTFPQSJ9.eyJpc3MiOiJodHRwczovL2RydGVzdC5ldS5hdXRoMC5jb20vIiwic3ViIjoiYXV0aDB8NThlNGY0NTkwMmI3MTc0ZmMwNjViZTcxIiwiYXVkIjpbImh0dHA6Ly8xMjcuMC4wLjE6ODAwMC9hcHBfZGV2LnBocC8iLCJodHRwczovL2RydGVzdC5ldS5hdXRoMC5jb20vdXNlcmluZm8iXSwiaWF0IjoxNTIwNTMwNzg2LCJleHAiOjE1MjA2MTcxODYsImF6cCI6ImloSTJZbXlXR0RLdm0wQmgyUlI0WDNOckpqRWxrdGNZIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCBhZGRyZXNzIHBob25lIHdyaXRlOnVzZXIgcmVhZDp1c2VyIiwiZ3R5IjoicGFzc3dvcmQifQ.ZubdHz3qIC2HKJWXmFIxpebGnc3EIo5BOAsBKYUSBC71xsP-gvs3_b3xW7VCyKpxAz4r1Ivg0Tx9WJN70xyg_w7oGXYt1puYlB6ul45h3u6AVtIleC_8d3QFC3dc4_UgWK4qM6p23LFL3AuTPRzLdKkOWuf2csz-V_iu8zR1pIn3rRcSkMQW7NTLLWeLq7DWdrJ3qAthy6YkgS9rPoV4i0UWsralp8FknuDbdHD7C8SqUArEbc6Dln3NpqiC6KYwb6rJx27T3uSqhodGnFBnlvwc0nsj3jC3HsqBxSFjcUc9zQ0J8eyifzQMBk-sH4JlAz747hoyk_cYztbD54I6Xg\"\r\n                ]\r\n            ]\r\n        },\r\n        {\r\n            \"namespace\": \"Auth0\\\\JWTAuthBundle\\\\Security\",\r\n            \"short_class\": \"Auth0Service\",\r\n            \"class\": \"Auth0\\\\JWTAuthBundle\\\\Security\\\\Auth0Service\",\r\n            \"type\": \"->\",\r\n            \"function\": \"decodeJWT\",\r\n            \"file\": \"/srv/api-platform/vendor/auth0/jwt-auth-bundle/src/Security/JWTAuthenticator.php\",\r\n            \"line\": 48,\r\n            \"args\": [\r\n                [\r\n                    \"string\",\r\n                    \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ik5UQTROelV4TWpJMFFVUkdNakl6UkVGR01UUXdPRVF5TlVNMFF6RTFNekl5TVRWRU9FWTFPQSJ9.eyJpc3MiOiJodHRwczovL2RydGVzdC5ldS5hdXRoMC5jb20vIiwic3ViIjoiYXV0aDB8NThlNGY0NTkwMmI3MTc0ZmMwNjViZTcxIiwiYXVkIjpbImh0dHA6Ly8xMjcuMC4wLjE6ODAwMC9hcHBfZGV2LnBocC8iLCJodHRwczovL2RydGVzdC5ldS5hdXRoMC5jb20vdXNlcmluZm8iXSwiaWF0IjoxNTIwNTMwNzg2LCJleHAiOjE1MjA2MTcxODYsImF6cCI6ImloSTJZbXlXR0RLdm0wQmgyUlI0WDNOckpqRWxrdGNZIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCBhZGRyZXNzIHBob25lIHdyaXRlOnVzZXIgcmVhZDp1c2VyIiwiZ3R5IjoicGFzc3dvcmQifQ.ZubdHz3qIC2HKJWXmFIxpebGnc3EIo5BOAsBKYUSBC71xsP-gvs3_b3xW7VCyKpxAz4r1Ivg0Tx9WJN70xyg_w7oGXYt1puYlB6ul45h3u6AVtIleC_8d3QFC3dc4_UgWK4qM6p23LFL3AuTPRzLdKkOWuf2csz-V_iu8zR1pIn3rRcSkMQW7NTLLWeLq7DWdrJ3qAthy6YkgS9rPoV4i0UWsralp8FknuDbdHD7C8SqUArEbc6Dln3NpqiC6KYwb6rJx27T3uSqhodGnFBnlvwc0nsj3jC3HsqBxSFjcUc9zQ0J8eyifzQMBk-sH4JlAz747hoyk_cYztbD54I6Xg\"\r\n                ]\r\n            ]\r\n        },\r\n        {\r\n            \"namespace\": \"Auth0\\\\JWTAuthBundle\\\\Security\",\r\n            \"short_class\": \"JWTAuthenticator\",\r\n            \"class\": \"Auth0\\\\JWTAuthBundle\\\\Security\\\\JWTAuthenticator\",\r\n            \"type\": \"->\",\r\n            \"function\": \"createToken\",\r\n            \"file\": \"/srv/api-platform/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/SimplePreAuthenticationListener.php\",\r\n            \"line\": 80,\r\n            \"args\": [\r\n                [\r\n                    \"object\",\r\n                    \"Symfony\\\\Component\\\\HttpFoundation\\\\Request\"\r\n                ],\r\n                [\r\n                    \"string\",\r\n                    \"secured_area\"\r\n                ]\r\n            ]\r\n        },\r\n        {\r\n            \"namespace\": \"Symfony\\\\Component\\\\Security\\\\Http\\\\Firewall\",\r\n            \"short_class\": \"SimplePreAuthenticationListener\",\r\n            \"class\": \"Symfony\\\\Component\\\\Security\\\\Http\\\\Firewall\\\\SimplePreAuthenticationListener\",\r\n            \"type\": \"->\",\r\n            \"function\": \"handle\",\r\n            \"file\": \"/srv/api-platform/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall.php\",\r\n            \"line\": 58,\r\n            \"args\": [\r\n                [\r\n                    \"object\",\r\n                    \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\"\r\n                ]\r\n            ]\r\n        },\r\n        {\r\n            \"namespace\": \"Symfony\\\\Component\\\\Security\\\\Http\",\r\n            \"short_class\": \"Firewall\",\r\n            \"class\": \"Symfony\\\\Component\\\\Security\\\\Http\\\\Firewall\",\r\n            \"type\": \"->\",\r\n            \"function\": \"onKernelRequest\",\r\n            \"file\": \"/srv/api-platform/vendor/symfony/symfony/src/Symfony/Bundle/SecurityBundle/EventListener/FirewallListener.php\",\r\n            \"line\": 48,\r\n            \"args\": [\r\n                [\r\n                    \"object\",\r\n                    \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\"\r\n                ]\r\n            ]\r\n        },\r\n        {\r\n            \"namespace\": \"Symfony\\\\Bundle\\\\SecurityBundle\\\\EventListener\",\r\n            \"short_class\": \"FirewallListener\",\r\n            \"class\": \"Symfony\\\\Bundle\\\\SecurityBundle\\\\EventListener\\\\FirewallListener\",\r\n            \"type\": \"->\",\r\n            \"function\": \"onKernelRequest\",\r\n            \"file\": null,\r\n            \"line\": null,\r\n            \"args\": [\r\n                [\r\n                    \"object\",\r\n                    \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\"\r\n                ],\r\n                [\r\n                    \"string\",\r\n                    \"kernel.request\"\r\n                ],\r\n                [\r\n                    \"object\",\r\n                    \"Symfony\\\\Component\\\\EventDispatcher\\\\ContainerAwareEventDispatcher\"\r\n                ]\r\n            ]\r\n        },\r\n        {\r\n            \"namespace\": \"\",\r\n            \"short_class\": \"\",\r\n            \"class\": \"\",\r\n            \"type\": \"\",\r\n            \"function\": \"call_user_func\",\r\n            \"file\": \"/srv/api-platform/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php\",\r\n            \"line\": 212,\r\n            \"args\": [\r\n                [\r\n                    \"array\",\r\n                    [\r\n                        [\r\n                            \"object\",\r\n                            \"Symfony\\\\Bundle\\\\SecurityBundle\\\\EventListener\\\\FirewallListener\"\r\n                        ],\r\n                        [\r\n                            \"string\",\r\n                            \"onKernelRequest\"\r\n                        ]\r\n                    ]\r\n                ],\r\n                [\r\n                    \"object\",\r\n                    \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\"\r\n                ],\r\n                [\r\n                    \"string\",\r\n                    \"kernel.request\"\r\n                ],\r\n                [\r\n                    \"object\",\r\n                    \"Symfony\\\\Component\\\\EventDispatcher\\\\ContainerAwareEventDispatcher\"\r\n                ]\r\n            ]\r\n        },\r\n        {\r\n            \"namespace\": \"Symfony\\\\Component\\\\EventDispatcher\",\r\n            \"short_class\": \"EventDispatcher\",\r\n            \"class\": \"Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher\",\r\n            \"type\": \"->\",\r\n            \"function\": \"doDispatch\",\r\n            \"file\": \"/srv/api-platform/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php\",\r\n            \"line\": 44,\r\n            \"args\": [\r\n                [\r\n                    \"array\",\r\n                    [\r\n                        [\r\n                            \"array\",\r\n                            [\r\n                                [\r\n                                    \"object\",\r\n                                    \"Symfony\\\\Component\\\\HttpKernel\\\\EventListener\\\\DebugHandlersListener\"\r\n                                ],\r\n                                [\r\n                                    \"string\",\r\n                                    \"configure\"\r\n                                ]\r\n                            ]\r\n                        ],\r\n                        [\r\n                            \"array\",\r\n                            [\r\n                                [\r\n                                    \"object\",\r\n                                    \"Symfony\\\\Component\\\\HttpKernel\\\\EventListener\\\\ValidateRequestListener\"\r\n                                ],\r\n                                [\r\n                                    \"string\",\r\n                                    \"onKernelRequest\"\r\n                                ]\r\n                            ]\r\n                        ],\r\n                        [\r\n                            \"array\",\r\n                            [\r\n                                [\r\n                                    \"object\",\r\n                                    \"Nelmio\\\\CorsBundle\\\\EventListener\\\\CorsListener\"\r\n                                ],\r\n                                [\r\n                                    \"string\",\r\n                                    \"onKernelRequest\"\r\n                                ]\r\n                            ]\r\n                        ],\r\n                        [\r\n                            \"array\",\r\n                            [\r\n                                [\r\n                                    \"object\",\r\n                                    \"Symfony\\\\Component\\\\HttpKernel\\\\EventListener\\\\SessionListener\"\r\n                                ],\r\n                                [\r\n                                    \"string\",\r\n                                    \"onKernelRequest\"\r\n                                ]\r\n                            ]\r\n                        ],\r\n                        [\r\n                            \"array\",\r\n                            [\r\n                                [\r\n                                    \"object\",\r\n                                    \"Symfony\\\\Component\\\\HttpKernel\\\\EventListener\\\\RouterListener\"\r\n                                ],\r\n                                [\r\n                                    \"string\",\r\n                                    \"onKernelRequest\"\r\n                                ]\r\n                            ]\r\n                        ],\r\n                        [\r\n                            \"array\",\r\n                            [\r\n                                [\r\n                                    \"object\",\r\n                                    \"Symfony\\\\Bundle\\\\FrameworkBundle\\\\EventListener\\\\ResolveControllerNameSubscriber\"\r\n                                ],\r\n                                [\r\n                                    \"string\",\r\n                                    \"onKernelRequest\"\r\n                                ]\r\n                            ]\r\n                        ],\r\n                        [\r\n                            \"array\",\r\n                            [\r\n                                [\r\n                                    \"object\",\r\n                                    \"Symfony\\\\Component\\\\HttpKernel\\\\EventListener\\\\LocaleListener\"\r\n                                ],\r\n                                [\r\n                                    \"string\",\r\n                                    \"onKernelRequest\"\r\n                                ]\r\n                            ]\r\n                        ],\r\n                        [\r\n                            \"array\",\r\n                            [\r\n                                [\r\n                                    \"object\",\r\n                                    \"Symfony\\\\Bundle\\\\SecurityBundle\\\\EventListener\\\\FirewallListener\"\r\n                                ],\r\n                                [\r\n                                    \"string\",\r\n                                    \"onKernelRequest\"\r\n                                ]\r\n                            ]\r\n                        ],\r\n                        [\r\n                            \"array\",\r\n                            [\r\n                                [\r\n                                    \"object\",\r\n                                    \"ApiPlatform\\\\Core\\\\EventListener\\\\AddFormatListener\"\r\n                                ],\r\n                                [\r\n                                    \"string\",\r\n                                    \"onKernelRequest\"\r\n                                ]\r\n                            ]\r\n                        ],\r\n                        [\r\n                            \"array\",\r\n                            [\r\n                                [\r\n                                    \"object\",\r\n                                    \"ApiPlatform\\\\Core\\\\JsonApi\\\\EventListener\\\\TransformPaginationParametersListener\"\r\n                                ],\r\n                                [\r\n                                    \"string\",\r\n                                    \"onKernelRequest\"\r\n                                ]\r\n                            ]\r\n                        ],\r\n                        [\r\n                            \"array\",\r\n                            [\r\n                                [\r\n                                    \"object\",\r\n                                    \"ApiPlatform\\\\Core\\\\JsonApi\\\\EventListener\\\\TransformSortingParametersListener\"\r\n                                ],\r\n                                [\r\n                                    \"string\",\r\n                                    \"onKernelRequest\"\r\n                                ]\r\n                            ]\r\n                        ],\r\n                        [\r\n                            \"array\",\r\n                            [\r\n                                [\r\n                                    \"object\",\r\n                                    \"ApiPlatform\\\\Core\\\\JsonApi\\\\EventListener\\\\TransformFieldsetsParametersListener\"\r\n                                ],\r\n                                [\r\n                                    \"string\",\r\n                                    \"onKernelRequest\"\r\n                                ]\r\n                            ]\r\n                        ],\r\n                        [\r\n                            \"array\",\r\n                            [\r\n                                [\r\n                                    \"object\",\r\n                                    \"ApiPlatform\\\\Core\\\\JsonApi\\\\EventListener\\\\TransformFilteringParametersListener\"\r\n                                ],\r\n                                [\r\n                                    \"string\",\r\n                                    \"onKernelRequest\"\r\n                                ]\r\n                            ]\r\n                        ],\r\n                        [\r\n                            \"array\",\r\n                            [\r\n                                [\r\n                                    \"object\",\r\n                                    \"ApiPlatform\\\\Core\\\\EventListener\\\\ReadListener\"\r\n                                ],\r\n                                [\r\n                                    \"string\",\r\n                                    \"onKernelRequest\"\r\n                                ]\r\n                            ]\r\n                        ],\r\n                        [\r\n                            \"array\",\r\n                            [\r\n                                [\r\n                                    \"object\",\r\n                                    \"ApiPlatform\\\\Core\\\\EventListener\\\\DeserializeListener\"\r\n                                ],\r\n                                [\r\n                                    \"string\",\r\n                                    \"onKernelRequest\"\r\n                                ]\r\n                            ]\r\n                        ],\r\n                        [\r\n                            \"array\",\r\n                            [\r\n                                [\r\n                                    \"object\",\r\n                                    \"ApiPlatform\\\\Core\\\\Security\\\\EventListener\\\\DenyAccessListener\"\r\n                                ],\r\n                                [\r\n                                    \"string\",\r\n                                    \"onKernelRequest\"\r\n                                ]\r\n                            ]\r\n                        ],\r\n                        [\r\n                            \"array\",\r\n                            [\r\n                                [\r\n                                    \"object\",\r\n                                    \"ApiPlatform\\\\Core\\\\Bridge\\\\Symfony\\\\Bundle\\\\EventListener\\\\SwaggerUiListener\"\r\n                                ],\r\n                                [\r\n                                    \"string\",\r\n                                    \"onKernelRequest\"\r\n                                ]\r\n                            ]\r\n                        ]\r\n                    ]\r\n                ],\r\n                [\r\n                    \"string\",\r\n                    \"kernel.request\"\r\n                ],\r\n                [\r\n                    \"object\",\r\n                    \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\"\r\n                ]\r\n            ]\r\n        },\r\n        {\r\n            \"namespace\": \"Symfony\\\\Component\\\\EventDispatcher\",\r\n            \"short_class\": \"EventDispatcher\",\r\n            \"class\": \"Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher\",\r\n            \"type\": \"->\",\r\n            \"function\": \"dispatch\",\r\n            \"file\": \"/srv/api-platform/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php\",\r\n            \"line\": 127,\r\n            \"args\": [\r\n                [\r\n                    \"string\",\r\n                    \"kernel.request\"\r\n                ],\r\n                [\r\n                    \"object\",\r\n                    \"Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\GetResponseEvent\"\r\n                ]\r\n            ]\r\n        },\r\n        {\r\n            \"namespace\": \"Symfony\\\\Component\\\\HttpKernel\",\r\n            \"short_class\": \"HttpKernel\",\r\n            \"class\": \"Symfony\\\\Component\\\\HttpKernel\\\\HttpKernel\",\r\n            \"type\": \"->\",\r\n            \"function\": \"handleRaw\",\r\n            \"file\": \"/srv/api-platform/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php\",\r\n            \"line\": 68,\r\n            \"args\": [\r\n                [\r\n                    \"object\",\r\n                    \"Symfony\\\\Component\\\\HttpFoundation\\\\Request\"\r\n                ],\r\n                [\r\n                    \"integer\",\r\n                    1\r\n                ]\r\n            ]\r\n        },\r\n        {\r\n            \"namespace\": \"Symfony\\\\Component\\\\HttpKernel\",\r\n            \"short_class\": \"HttpKernel\",\r\n            \"class\": \"Symfony\\\\Component\\\\HttpKernel\\\\HttpKernel\",\r\n            \"type\": \"->\",\r\n            \"function\": \"handle\",\r\n            \"file\": \"/srv/api-platform/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php\",\r\n            \"line\": 169,\r\n            \"args\": [\r\n                [\r\n                    \"object\",\r\n                    \"Symfony\\\\Component\\\\HttpFoundation\\\\Request\"\r\n                ],\r\n                [\r\n                    \"integer\",\r\n                    1\r\n                ],\r\n                [\r\n                    \"boolean\",\r\n                    true\r\n                ]\r\n            ]\r\n        },\r\n        {\r\n            \"namespace\": \"Symfony\\\\Component\\\\HttpKernel\",\r\n            \"short_class\": \"Kernel\",\r\n            \"class\": \"Symfony\\\\Component\\\\HttpKernel\\\\Kernel\",\r\n            \"type\": \"->\",\r\n            \"function\": \"handle\",\r\n            \"file\": \"/srv/api-platform/web/app.php\",\r\n            \"line\": 19,\r\n            \"args\": [\r\n                [\r\n                    \"object\",\r\n                    \"Symfony\\\\Component\\\\HttpFoundation\\\\Request\"\r\n                ]\r\n            ]\r\n        }\r\n    ]\r\n}\r\n```\r\n\r\n This behaviour is not desired and I have tried adding the exceptions to the configuration like;\r\n\r\n```\r\nexception_to_status:\r\n        Firebase\\JWT\\ExpiredException: 403\r\n        Auth0\\SDK\\Exception\\CoreException: 403\r\n```\r\n\r\nBut nothing is working... how can I ensure serialization of the exceptions thrown from the bundle handling JWT token? If I get another `500` error on the valid endpoint I do get a serialized response.\r\n\r\n```\r\n{\r\n    \"title\": \"An error occurred\",\r\n    \"description\": \"Internal Server Error\"\r\n}\r\n```\r\n\r\nIt seems to be a behaviour around the security layer."},"comment":{"url":"https://api.github.com/repos/api-platform/api-platform/issues/comments/374858755","html_url":"https://github.com/api-platform/api-platform/issues/617#issuecomment-374858755","issue_url":"https://api.github.com/repos/api-platform/api-platform/issues/617","id":374858755,"user":{"login":"Ronnie-J","id":7793111,"avatar_url":"https://avatars0.githubusercontent.com/u/7793111?v=4","gravatar_id":"","url":"https://api.github.com/users/Ronnie-J","html_url":"https://github.com/Ronnie-J","followers_url":"https://api.github.com/users/Ronnie-J/followers","following_url":"https://api.github.com/users/Ronnie-J/following{/other_user}","gists_url":"https://api.github.com/users/Ronnie-J/gists{/gist_id}","starred_url":"https://api.github.com/users/Ronnie-J/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ronnie-J/subscriptions","organizations_url":"https://api.github.com/users/Ronnie-J/orgs","repos_url":"https://api.github.com/users/Ronnie-J/repos","events_url":"https://api.github.com/users/Ronnie-J/events{/privacy}","received_events_url":"https://api.github.com/users/Ronnie-J/received_events","type":"User","site_admin":false},"created_at":"2018-03-21T08:02:48Z","updated_at":"2018-03-21T08:02:48Z","author_association":"NONE","body":"@dunglas sorry! I made a brain bobo! .. it's not Lexik - im using https://github.com/auth0/jwt-auth-bundle. So my question is how to handle exceptions from the security layer in Symfony in the API Platform - if possible. "}}
{"actor":{"display_login":"Ronnie-J"}}