I'm encountering an issue when trying to integrate the SocialiteProviders/Zitadel package. Despite following the official installation guide step by step, Laravel throws the following error in app/Providers/AppServiceProvider.php:
SocialiteProviders\Zitadel\Provider doesn't exist
I've installed the Installed the package via Composer:
composer require socialiteproviders/zitadel
app/Providers/AppServiceProvider.php:
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Vite;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Event;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
//
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
Vite::prefetch(concurrency: 3);
Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) {
$event->extendSocialite('zitadel', \SocialiteProviders\Zitadel\Provider::class);
});
}
}
I cleared the cache using php artisan config:clear and php artisan cache:clear, but the issue persists.
I checked that the SocialiteProviders/Zitadel package is installed in the vendor directory.
Is there an additional step or configuration required that is missing from the documentation? Could this be related to the package version or a compatibility issue with Laravel 11?
I'm encountering an issue when trying to integrate the SocialiteProviders/Zitadel package. Despite following the official installation guide step by step, Laravel throws the following error in
app/Providers/AppServiceProvider.php
:SocialiteProviders\Zitadel\Provider doesn't exist
I've installed the Installed the package via Composer:
composer require socialiteproviders/zitadel
app/Providers/AppServiceProvider.php:
boostrap/providers.php:
config/services.php:
I try to redirect to the Zitadel Provider by :
Laravel version: 11.9 PHP Version: 8.2 Socialite version: v5.16.0 socialiteproviders/zitadel: 4.1.0
socialiteproviders/manager: v4.7.0
I cleared the cache using
php artisan config:clear
andphp artisan cache:clear
, but the issue persists. I checked that theSocialiteProviders/Zitadel
package is installed in the vendor directory.Is there an additional step or configuration required that is missing from the documentation? Could this be related to the package version or a compatibility issue with Laravel 11?