catlabinteractive / laravel-catlab-accounts
Oauth-Openid client for the catlab authentication api for Ll
Installs: 313
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/catlabinteractive/laravel-catlab-accounts
Requires
- socialiteproviders/manager: ~4.1.0
README
Installation
- Add to your app config providers:
\CatLab\Accounts\Client\CatLabAccountsServiceProvider::class,
\SocialiteProviders\Manager\ServiceProvider::class,
- Add to aliases:
'Socialite' => Laravel\Socialite\Facades\Socialite::class,
- Add to your (web)routes:
\CatLab\Accounts\Client\Controllers\LoginController::setRoutes();
- Add to EventServiceProvider
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
\SocialiteProviders\Manager\SocialiteWasCalled::class => [
CatLabExtendSocialite::class
],
];