Skip to content

Symfony 6 SessionInterface not a service #29

@AdrianEneZ

Description

@AdrianEneZ

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions