This package is a very simple Laravel single sign on for multiple applications.
You can install the package via composer:
composer require fennec-tech/laravel-single-sign-on
You can publish the config file with:
php artisan vendor:publish --tag="laravel-single-sign-on-config"
1- Add SESSION_DOMAIN
and ACCOUNTS_URL
to your .env file.
2- Add LaravelSingleSignOnMiddleware::class
to the $middleware
variable in the kernel.php
file.
3- Add RedirectIfAuthenticatedMiddleware::class
to the 'guest'
attribute in the $routeMiddleware
variable in the kernel.php
file.
composer test
Please see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.