-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Description
Issue / Motivation:
I can't store configuration of provider in services config file.
Because of it I'm receiving MissingConfigException
:
There is no services entry for github
I've tried to replace ConfigResolver
with my own implementation.
Added to App\Providers\AppServiceProvider
:
$this->app->singleton(
\SocialiteProviders\Manager\Contracts\Helpers\ConfigRetrieverInterface::class,
\App\CustomConfigRetriever::class
);
But no luck, because ServiceProvider
of the package loading after the AppServiceProvider
and overwrites my binding.
Proposed solution:
It looks like I have to disable auto-discovery of "socialiteproviders/manager"
in composer.json and load service provider manually, and only after that rebind ConfigResolver
. Is there any other thoughts how this could be solved?
Metadata
Metadata
Assignees
Labels
No labels