phuongna / onesk
SSO with JWT
Installs: 136
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/phuongna/onesk
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: 2025-09-27 10:58:04 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 ], ],