LaravelPackages.net
Acme Inc.
Toggle sidebar
fennec-tech/laravel-single-sign-on

This package is a very simple Laravel single sign on for multiple applications.

6
1
About fennec-tech/laravel-single-sign-on

fennec-tech/laravel-single-sign-on is a Laravel package for this package is a very simple laravel single sign on for multiple applications.. It currently has 1 GitHub stars and 6 downloads on Packagist. Install it with composer require fennec-tech/laravel-single-sign-on. Discover more Laravel packages by fennec-tech or browse all Laravel packages to compare alternatives.

Last updated

This package is a very simple Laravel single sign on for multiple applications.

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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.

Comments