kankanamge / iversauth
Authenticating library for ivers
v1.0
2018-11-18 13:57 UTC
Requires
- php: >=7.1
This package is auto-updated.
Last update: 2026-03-19 13:36:14 UTC
README
This package enables to authenticating users with ivers authenticating site
Installation
Login to Ivers Authenticating site and create a app. Put your site url as the site link.
Install this package
composer require kankanamge/iversauth
Add IversAuth service provider.
# config/app.php
return [
'providers'=>[
\Kankanamge\IversAuth\AuthServiceProvider::class
]
]
Replace default authenticating middleware with IversAuth
# app\Http\Kernel.php
protected $routeMiddleware = [
'auth' => \Kankanamge\IversAuth\AuthenticateMiddleware::class,
];
Publish vendor files
php artisan vendor:publish
Change config
Change configuration variables in config\ivers_auth.php by following guide lines in comments.
Note:- Do not put any route to /login URL.