Pimcore/Symfony Bundle with custom token authentication for custom controller
I am completely struggling to get a custom bundle in Pimcore working as expected. I have a controller in this bundle that must be secured by a token authentication (like a Bearer token). This is my security.yml in BUNDLE_DIR/Resources/config/security.yml: