Dumping the complete publisher in DataCollector breaks the Symfony toolbar
Closed this issue · 0 comments
lunetics commented
-
Build a custom jwt provider (as stated in the docs)
-
Symfore security UsageTrackingTokenStorage uses the ContainerInterface (sessionLocator) which results in the above closure call.
-
The Symfony debug toolbar will break:
request.CRITICAL: Uncaught PHP Exception Exception: "Serialization of 'Closure' is not allowed" at /app/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php line 175 {"exception":"[object] (Exception(code: 0): Serialization of 'Closure' is not allowed at /app/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php:175)"}