kankanamge/iversauth
Laravel auth middleware/service provider to authenticate users via the Ivers authentication site. Install with Composer, register AuthServiceProvider, replace the default auth middleware, publish config, and set your Ivers app/site URL (avoid using /login).
This package enables to authenticating users with ivers authenticating site
Login to Ivers Authenticating site and create a app. Put your site url as the site link.
composer require kankanamge/iversauth
# config/app.php
return [
'providers'=>[
\Kankanamge\IversAuth\AuthServiceProvider::class
]
]
# app\Http\Kernel.php
protected $routeMiddleware = [
'auth' => \Kankanamge\IversAuth\AuthenticateMiddleware::class,
];
php artisan vendor:publish
Change configuration variables in config\ivers_auth.php by following guide lines in comments.
Note:- Do not put any route to /login URL.
How can I help you explore Laravel packages today?