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

composer require socialiteproviders/twitter SocialiteProviders\Twitter\Provider does not extend Laravel\Socialite\Two\AbstractProvider #1193

Open
phpmac opened this issue Apr 15, 2024 · 4 comments

Comments

@phpmac
Copy link

phpmac commented Apr 15, 2024

SocialiteProviders\Twitter\Provider does not extend Laravel\Socialite\Two\AbstractProvider

当我使用twitter提供者会提示出错

SocialiteProviders\Twitter\Provider does not extend Laravel\Socialite\Two\AbstractProvider



@npldevfr
Copy link

npldevfr commented May 13, 2024

same issue here!
Capture d’écran 2024-05-13 à 12 24 47

My AppServiceProvider.php :

public function boot(): void
    {

        Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) {
            $event->extendSocialite('discord', \SocialiteProviders\Discord\Provider::class);
            $event->extendSocialite('twitter', \SocialiteProviders\Twitter\Provider::class);
        });
    }

@atymic
Copy link
Member

atymic commented May 21, 2024

Our twitter provider is a oauth v1 provider, which i'm guessing is why it's giving an error.
Can you post the full stacktrace please?

@atymic
Copy link
Member

atymic commented May 21, 2024

Is there a reason why you can't use the offical socialite provider?

@atymic
Copy link
Member

atymic commented Jun 8, 2024

@phpmac

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

3 participants