79318068

Date: 2024-12-30 16:22:09
Score: 2
Natty:
Report link

You're intervening deep into the event stack of the framework. kernel level event's have a higher priority and are getting executed first.

Try:

#[AsEventListener(event: OAuth2Events::TOKEN_REQUEST_RESOLVE, priority: 256)]

See the following: https://symfony.com/doc/current/event_dispatcher.html#creating-an-event-listener

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user28992035