I'm trying since last week to get the FOS Auth Server Bundle working with Symfony4. If I want to use the create client Command which I created this error message appears.
The "fos_oauth_server.client_manager.default" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and dependency injection instead.
Is there anyone with the same problem?
i have the same problem. tried to inject the service like that :
but i got the error :
so i registered my command in services.yaml :
Now it works :)