kankanamge/iversauth

Authenticating library for ivers

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:laravel-package

v1.0 2018-11-18 13:57 UTC

This package is auto-updated.

Last update: 2024-09-19 10:10:05 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.

Thats it all! Enjoy!