phuongna / onesk
SSO with JWT
1.0.3
2021-07-14 02:14 UTC
Requires
- php: >=7.2
- illuminate/support: ^6.0|^7.0|^8.0
- tymon/jwt-auth: ^1.0
Requires (Dev)
- orchestra/testbench: ^4.0|^5.0|^6.0
- phpunit/phpunit: ^8.4|^9.0
This package is auto-updated.
Last update: 2024-10-27 09:00:16 UTC
README
Package description: CHANGE ME
Installation
Install via composer
composer require phuongna/onesk
Publish package assets
php artisan vendor:publish --provider="phuongna\onesk\ServiceProvider"
Usage
CHANGE ME
Security
If you discover any security related issues, please email instead of using the issue tracker.
Credits
This package is bootstrapped with the help of melihovv/laravel-package-generator.
-
install
-
php artisan vendor:publish
-
'guards' => [ 'admin' => [ 'driver' => 'sso-jwt', 'provider' => 'users', ], 'customer' => [ 'driver' => 'sso-jwt', 'provider' => 'customers', ], ],
-
'providers' => [ 'users' => [ 'driver' => 'sso', 'model' => \App\Models\User::class, ], 'customers' => [ 'driver' => 'sso', 'model' => \App\Models\Customer::class ], ],