Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symfony 6 SessionInterface not a service #29

Open
AdrianEneZ opened this issue Apr 25, 2023 · 1 comment
Open

Symfony 6 SessionInterface not a service #29

AdrianEneZ opened this issue Apr 25, 2023 · 1 comment

Comments

@AdrianEneZ
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant