ikoncept/ikoncept-socialite-provider

Ikoncept OAuth2 Provider for Laravel Socialite

1.0.3 2024-06-13 06:07 UTC

This package is auto-updated.

Last update: 2024-11-13 06:57:20 UTC


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)