lebuhorskiy / socialiteproviders-epicgames
Epic Games OAuth2 Provider for Laravel Socialite
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 3
pkg:composer/lebuhorskiy/socialiteproviders-epicgames
Requires
- php: ^8.3
- ext-json: *
- socialiteproviders/manager: ~4.0
This package is not auto-updated.
Last update: 2025-12-02 23:52:05 UTC
README
composer require voval921/socialiteproviders-epicgames
Add configuration to config/services.php
'epicgames' => [
'client_id' => null,
'client_secret' => env('EPICGAMES_CLIENT_SECRET'),
'redirect' => env('EPICGAMES_REDIRECT_URI'),
'allowed_hosts' => [
'example.com',
]
],
Add provider event listener
Configure the package's listener to listen for SocialiteWasCalled events.
Add the event to your listen[] array in app/Providers/EventServiceProvider.
protected $listen = [
\SocialiteProviders\Manager\SocialiteWasCalled::class => [
// ... other providers
\Voval\Socialite\EpicGames\EpicGamesExtendSocialite::class.'@handle',
],
];
Usage
You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed):
return Socialite::driver('epicgames')->redirect();