ikoncept / ikoncept-socialite-provider
Ikoncept OAuth2 Provider for Laravel Socialite
1.0.3
2024-06-13 06:07 UTC
Requires
- php: ^7.0|^8.0|^8.2
- socialiteproviders/manager: ^2.0|^3.0|^4.0
README
v1.0.0
Add the provider in app/Providers/EventServiceProvider.php
:
protected $listen = [ \SocialiteProviders\Manager\SocialiteWasCalled::class => [ 'Ikoncept\IkonceptSocialiteProvider\IkonceptExtendSocialite@handle', ], ];
Add ikoncept to the services array in config/services.php
:
'ikoncept' => [ 'client_id' => env('IKONCEPT_CLIENT_ID'), // Your Ikoncept Client ID 'client_secret' => env('IKONCEPT_CLIENT_SECRET'), // Your Ikoncept Client Secret 'redirect' => 'http://ikoncept.se/login/ikoncept/callback' ],
Note that the redirect has to match with the configured redirect path in the OAuth server (auth.ikoncept.se)