I would like to add a new LINE social login button to Socialite extension. However, I read the links below and still have a problem integrate it.
SocialiteProviders/Line
TastyIgniter/Socialite
What I did:
I put Provider.php in html\extensions\igniter\socialite\vendor\laravel\socialite\src\Two\
LineExtendSocialite.php => I have no idea where I should put this file ๐
html\config\services.php
'line' => [
'client_id' => env('LINE_CLIENT_ID'),
'client_secret' => env('LINE_CLIENT_SECRET'),
'redirect' => env('LINE_REDIRECT_URI'),
],
html\vendor\tastyigniter\flame\src\Foundation\Providers\EventServiceProvider.php
<?php
namespace Igniter\Flame\Foundation\Providers;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as BaseEventServiceProvider;
class EventServiceProvider extends BaseEventServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
\SocialiteProviders\Manager\SocialiteWasCalled::class => [
// ... other providers
\SocialiteProviders\Line\LineExtendSocialite::class.'@handle',
],
];
}
What I have to do next? Please guide me, thanks
I have read your sentence โExtensible! Easily add the one you want!โ and ๐ I disagree ๐