fennec-tech/laravel-single-sign-on
Composer 安装命令:
composer require fennec-tech/laravel-single-sign-on
包简介
This package is a very simple Laravel single sign on for multiple applications.
README 文档
README
This package is a very simple Laravel single sign on for multiple applications.
Installation
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"
Usage
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.
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-07