ikoncept/ikoncept-socialite-provider

Ikoncept OAuth2 Provider for Laravel Socialite

1.0.2 2022-05-13 13:22 UTC

This package is auto-updated.

Last update: 2022-08-13 13:50:35 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)