Closed ethanransdellrarebird closed 5 years ago
I have the same issue with InstagramExtendSocialite
listener.
Debugging with Laravel Telescope, SocialiteWasCalled
event is dispatched but no listener are triggered (even if found in php artisan event:list
).
Maybe an execution order issue.
Same thing here.
Found that firing the SocialiteWasCalled event is not being added to the app's booted callbacks. Working on a PR.
Tagged a new release
Issue / Motivation:
Register provider listeners not being called
Expected behavior:
Socialite::driver('azure')->redirect();
should redirect to the provider's login pageActual behavior:
InvalidArgumentException with message 'Driver [azure] not supported.'
Steps to reproduce the behavior:
5.8.*
socialiteproviders/microsoft-azure
in Composer,app.php
, andEventServiceProvider.php
laravel/framework
dependency to^6.0
and runcomposer update
Proposed solution:
I've been troubleshooting and see that in this case, the
AzureExtendSocialite
listener is not being triggered. I was able to dispatch the event manually intinker
and get a die dump fromAzureExtendSocialite
but still could not get a redirect.