In symfony 5.3 SessionInterface as a service was deprecated and in 6.0+ is no longer defined as a service in the container. Using this bundle with a Symfony ^6.0 will throw a DI ServiceNotFoundException when we get to https://github.com/gregurco/GuzzleBundleOAuth2Plugin/blob/master/src/Middleware/PersistentOAuthMiddleware.php#L33 and try to get the service reference from the container.